Scenario:
Using Mac Laptop
Using Defold 1.4.3
Created a project out of defold-examples/examples at master · defold/defold-examples · GitHub
Local run on laptop works as expected including all examples
Bundled an Android APK , variant debug , Bundle format: APK
Deployed to S21 Ultra
App is working except for “camera” example - buttons not responding
Trying to debug the issue using Android IDE 2022.1.1 Patch 2
Android IDE rejecting the symbol so files generated by Defold IDE on
Unable to find any debuggable shared object files from the selection: - /XXX/armv7-android/Defold examples/Defold examples.apk.symbols/lib/armeabi-v7a/libDefoldexamples.so
Is this a known issue ?
How can I debug the application natively (the issue does not occur on html5 mode)
Make sure you bundle by passing --with-symbols and --variant=debug to bob.jar.
That will enable the logging, and also output an unstripped version of the executable (i.e. the “symbols file”) into your build/arm64-android folder.
File size 3.4 MB
Even when i removed the space the result remains the same
the --build-report-html produed the following summary
|Platform:|arm64-android|
|Archive:|Enabled|
|Texture Compression:|Disabled|
Regarding the compression - I noted inthe IDE in the Bundle Android Application the Texture Compression is mentioned as Enabled but still inthe report it came out as Disabled
It seems like something wrong with pre-built synbols on android. The simplest way to fix it for now is to build the project using an extender server.
You can do it by adding an appmanifest in game.project or using any native extension in your project.