diff --git a/cocos/platform/android/libcocos2dx-with-controller/AndroidManifest.xml b/cocos/platform/android/libcocos2dx-with-controller/AndroidManifest.xml index bd550c5547..cc170d62a6 100644 --- a/cocos/platform/android/libcocos2dx-with-controller/AndroidManifest.xml +++ b/cocos/platform/android/libcocos2dx-with-controller/AndroidManifest.xml @@ -1,5 +1,7 @@ + + diff --git a/cocos/platform/android/libcocos2dx/AndroidManifest.xml b/cocos/platform/android/libcocos2dx/AndroidManifest.xml index bd550c5547..cc170d62a6 100644 --- a/cocos/platform/android/libcocos2dx/AndroidManifest.xml +++ b/cocos/platform/android/libcocos2dx/AndroidManifest.xml @@ -1,5 +1,7 @@ + + diff --git a/templates/cpp-template-default/proj.android/app/AndroidManifest.xml b/templates/cpp-template-default/proj.android/app/AndroidManifest.xml index f8a8d00f4f..489eff1254 100644 --- a/templates/cpp-template-default/proj.android/app/AndroidManifest.xml +++ b/templates/cpp-template-default/proj.android/app/AndroidManifest.xml @@ -3,6 +3,8 @@ package="org.cocos2dx.hellocpp" android:installLocation="auto"> + + - - diff --git a/templates/cpp-template-default/proj.android/app/proguard-rules.pro b/templates/cpp-template-default/proj.android/app/proguard-rules.pro index ecbfe714e5..2c062c4946 100644 --- a/templates/cpp-template-default/proj.android/app/proguard-rules.pro +++ b/templates/cpp-template-default/proj.android/app/proguard-rules.pro @@ -21,7 +21,7 @@ -dontwarn org.cocos2dx.** -keep public class com.chukong.** { *; } -dontwarn com.chukong.** --keep public com.huawei.android.** { *; } +-keep public class com.huawei.android.** { *; } -dontwarn com.huawei.android.** # Proguard Apache HTTP for release