1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
diff --git a/pkg/android/phoenix/AndroidManifest.xml b/pkg/android/phoenix/AndroidManifest.xml
index ce2114c..12d8fbb 100644
--- a/pkg/android/phoenix/AndroidManifest.xml
+++ b/pkg/android/phoenix/AndroidManifest.xml
@@ -24,6 +24,7 @@
android:hasCode="true"
android:isGame="true"
android:banner="@drawable/banner"
+ android:debuggable="true"
android:extractNativeLibs="true"
android:requestLegacyExternalStorage="true"
tools:ignore="UnusedAttribute">
diff --git a/pkg/android/phoenix/build.xml b/pkg/android/phoenix/build.xml
index 9698a04..6b2c101 100644
--- a/pkg/android/phoenix-legacy/build.xml
+++ b/pkg/android/phoenix-legacy/build.xml
@@ -96,7 +96,7 @@
<replaceregexp
file="AndroidManifest.xml"
match="(android:debuggable=").*(")"
- replace="\1false\2"/>
+ replace="\1true\2"/>
</else>
</if>
<exec executable="${ndk.dir}/${ndk.cmd}" failonerror="true">
diff --git a/pkg/android/phoenix/jni/Application.mk b/pkg/android/phoenix/jni/Application.mk
index b179dbf..84ade89 100644
--- a/pkg/android/phoenix-common/jni/Application.mk
+++ b/pkg/android/phoenix-common/jni/Application.mk
@@ -1,3 +1,5 @@
+APP_OPTIM := debug
+
ifeq ($(GLES),3)
ifndef NDK_GL_HEADER_VER
APP_PLATFORM := android-18
|