Apply recommended changes by Android Studio.

This commit is contained in:
Miku AuahDark
2023-04-16 14:42:12 +08:00
parent 75fd79b37a
commit 349c1e3dda
6 changed files with 13 additions and 16 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ import java.nio.charset.StandardCharsets
apply plugin: 'com.android.application'
android {
namespace "org.love2d.android.executable"
compileSdk 33
buildToolsVersion '33.0.0'
ndkVersion '23.2.8568313'
@@ -58,7 +59,7 @@ android {
dimension 'recording'
}
}
lintOptions {
lint {
abortOnError false
}
}
+1 -3
View File
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="org.love2d.android.executable"
xmlns:android="http://schemas.android.com/apk/res/android" >
<manifest xmlns:android="http://schemas.android.com/apk/res/android" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.BLUETOOTH" />
+1 -3
View File
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="org.love2d.android.executable"
xmlns:android="http://schemas.android.com/apk/res/android"
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
>
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove" />
+1 -3
View File
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="org.love2d.android.executable"
xmlns:android="http://schemas.android.com/apk/res/android"
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" >
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" tools:replace="maxSdkVersion" />