mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
Should now be recognized as Game in Android
This commit is contained in:
parent
127bafdbc6
commit
4270142421
@ -10,6 +10,7 @@
|
|||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:icon="@drawable/uncivicon2"
|
android:icon="@drawable/uncivicon2"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
android:isGame="true"
|
||||||
android:theme="@style/GdxTheme" >
|
android:theme="@style/GdxTheme" >
|
||||||
<activity
|
<activity
|
||||||
android:name="com.unciv.app.AndroidLauncher"
|
android:name="com.unciv.app.AndroidLauncher"
|
||||||
|
@ -21,7 +21,7 @@ android {
|
|||||||
applicationId "com.unciv.app"
|
applicationId "com.unciv.app"
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 331
|
versionCode 332
|
||||||
versionName "3.3.2"
|
versionName "3.3.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ import com.badlogic.gdx.backends.android.AndroidApplication;
|
|||||||
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
|
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
|
||||||
import com.unciv.UncivGame;
|
import com.unciv.UncivGame;
|
||||||
|
|
||||||
|
// If we convert this to Kotlin, the the Gradle build won't work. =(
|
||||||
|
// Stuck with Java for now
|
||||||
public class AndroidLauncher extends AndroidApplication {
|
public class AndroidLauncher extends AndroidApplication {
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate (Bundle savedInstanceState) {
|
protected void onCreate (Bundle savedInstanceState) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user