mirror of https://github.com/axmolengine/axmol.git
Fix gradlew build (#18592)
* fixed ProGuard rule file * add missing VIBRATE permission * move permission to correct position in AndroidManifest.xml
This commit is contained in:
parent
ca46b062fd
commit
bbdd289a62
|
@ -1,5 +1,7 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.cocos2dx.lib">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.cocos2dx.lib">
|
||||||
|
|
||||||
|
<uses-permission android:name="android.permission.VIBRATE" />
|
||||||
|
|
||||||
<application android:allowBackup="true">
|
<application android:allowBackup="true">
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.cocos2dx.lib">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.cocos2dx.lib">
|
||||||
|
|
||||||
|
<uses-permission android:name="android.permission.VIBRATE" />
|
||||||
|
|
||||||
<application android:allowBackup="true">
|
<application android:allowBackup="true">
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
package="org.cocos2dx.hellocpp"
|
package="org.cocos2dx.hellocpp"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
|
|
||||||
<uses-feature android:glEsVersion="0x00020000" />
|
<uses-feature android:glEsVersion="0x00020000" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
|
@ -28,6 +30,4 @@
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
-dontwarn org.cocos2dx.**
|
-dontwarn org.cocos2dx.**
|
||||||
-keep public class com.chukong.** { *; }
|
-keep public class com.chukong.** { *; }
|
||||||
-dontwarn com.chukong.**
|
-dontwarn com.chukong.**
|
||||||
-keep public com.huawei.android.** { *; }
|
-keep public class com.huawei.android.** { *; }
|
||||||
-dontwarn com.huawei.android.**
|
-dontwarn com.huawei.android.**
|
||||||
|
|
||||||
# Proguard Apache HTTP for release
|
# Proguard Apache HTTP for release
|
||||||
|
|
Loading…
Reference in New Issue