|
|
|
|
Attention |
Topic was automatically imported from the old Question2Answer platform. |
|
Asked By |
rizalma |
Godot version : 3.3
OS : Windows
Export : Android Custom Build
Hi,
I upload my game in google play console in closed testing
, but there are 2 warning, which is:
Warning
This App Bundle contains Java/Kotlin code, which might be obfuscated. We recommend you upload a deobfuscation file to make your crashes and ANRs easier to analyze and debug
Warning
This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug
How to fix these? Thank you
|
|
|
|
Reply From: |
LuizTM |
Hi
I am newbie in dvelopment and publication of app too godot engine, but you can try to rebuild your app again with some configs addiotional in your build.gradle, inside android plugin template.
in ‘your_project_godot/android/build/build.gradle’ of you game project:
‘’'build.gradle
android {
....
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
ndk {
debugSymbolLevel 'SYMBOL_TABLE'
}
}
}
...
references that you can look:
it seems i cant build it, it says error
A problem occurred evaluating root project 'build'.
No signature of method: build_bfjsdjqqt1jhull4hwbra2jh6.android() is applicable for argument types: (build_bfjsdjqqt1jhull4hwbra2jh6$_run_closure3) values: [build_bfjsdjqqt1jhull4hwbra2jh6$_run_closure3@4e00db3a]
my build.gradle is
android {
...
buildTypes {
...
release {
// ADDED
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
ndk {
debugSymbolLevel 'SYMBOL_TABLE'
}
// Signing and zip-aligning are skipped for prebuilt builds, but
// performed for custom builds.
zipAlignEnabled shouldZipAlign()
if (shouldSign()) {
signingConfig signingConfigs.release
} else {
signingConfig null
}
}
}
it seems the error part is in:
ndk {
debugSymbolLevel 'SYMBOL_TABLE'
}
when i try to remove it, the build is succesfull
rizalma | 2021-05-08 04:18