SDL: updated project files to Android NDK 31

This commit is contained in:
Sergii Pylypenko
2021-11-27 23:13:15 +02:00
parent f7be0781d9
commit 87b27b3418
6 changed files with 13 additions and 10 deletions

View File

@@ -21,6 +21,7 @@
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
android:windowSoftInputMode="stateUnspecified"
android:theme="@style/AppTheme"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -56,6 +57,7 @@
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
android:windowSoftInputMode="stateUnspecified"
android:process=":RestartMainActivity"
android:exported="true"
/>
<service android:name=".DummyService"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"

View File

@@ -3,12 +3,12 @@ plugins {
}
android {
compileSdk 30
compileSdk 31
defaultConfig {
applicationId "net.olofson.ballfield"
minSdk 16
targetSdk 30
targetSdk 31
}
buildTypes {
@@ -29,6 +29,6 @@ android {
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.gms:play-services-games:21.0.0' // ==GOOGLEPLAYGAMESERVICES==
}

View File

@@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.1"
classpath "com.android.tools.build:gradle:7.0.3"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -14,4 +14,4 @@ buildscript {
task clean(type: Delete) {
delete rootProject.buildDir
}
}

View File

@@ -1,4 +1,4 @@
#Sun Aug 22 00:57:33 EEST 2021
#Sat Nov 27 22:44:43 EET 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionPath=wrapper/dists

View File

@@ -1,4 +1,5 @@
openttd-build-*
/openttd-build-*
/AndroidData/*.xz
/data
/openttd-pc
/build-tools

View File

@@ -1,6 +1,6 @@
--- a/project/AndroidManifest.xml 2015-01-01 23:59:34.805231773 +0200
+++ a/project/AndroidManifest.xml 2015-01-01 23:59:45.189378809 +0200
@@ -43,6 +43,19 @@
@@ -43,5 +43,19 @@
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
android:enabled="true"
/>
@@ -8,7 +8,8 @@
+ android:label="@string/app_name"
+ android:launchMode="standard"
+ android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize|layoutDirection"
+ android:windowSoftInputMode="stateUnspecified">
+ android:windowSoftInputMode="stateUnspecified"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="android.intent.action.RUN" />
+ <action android:name="android.intent.action.MAIN" />
@@ -19,4 +20,3 @@
+ </activity>
</application>
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23"/>