Realese apk no working
Opened this issue · 1 comments
ercpereda commented
The application closes immediately after launch. When I check with adb logcat
I see this error happening FatalError called: com/unity3d/player/ReflectionHelper
. It works ok if I running in dev
mode.
ercpereda commented
I make it work disabling the minify
and zipAlign
task in realise
. Does any one has an explanation why doesn't work enabling these task?
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 93bc5c45..b70f99d2 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -77,9 +77,9 @@ android {
ext.enableCrashlytics = false
}
release {
- minifyEnabled true
+ minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- zipAlignEnabled true
+ zipAlignEnabled false
signingConfig signingConfigs.release
}
}
@@ -109,6 +109,7 @@ apply from: 'expo.gradle'