Increase Android target SDK so it will work with Android 10.

Need to download SDK 26 to compile.

(Just tested this on Android 6 and Android 9, it works, but need to test the change for Android 5 and Android 10, for Android 10, It needs to turn the storage permission settings manually since the project don't have running permission setup currently)
This commit is contained in:
Anthony Calosa
2020-03-10 16:53:59 +08:00
parent 1f4eff8b1c
commit ceeb5d623f
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="21" />
android:targetSdkVersion="26" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <!-- This one needs Android Runtime Permission for Android 6+ -->
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.INTERNET"/>

View File

@@ -142,7 +142,7 @@
<debug>true</debug>
</sign>
<sdk>
<platform>25</platform>
<platform>26</platform>
</sdk>
<dexForceJumbo>true</dexForceJumbo>
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
@@ -183,7 +183,7 @@
<debug>false</debug>
</sign>
<sdk>
<platform>25</platform>
<platform>26</platform>
</sdk>
<zipalign>
<verbose>false</verbose>