.so lib files missing debug symbols
So I tried getting my bin/debug.apk to work in the Buildozer VM, but there was a problem with loading adb and attaching my Android device via USB, so I exported my bin/debug.apk to my desktop to debug it in Android Studio. However, in its first steps, it throws an error that asks me to replace the .so libraries with identical ones that have debug symbols.
.so lib files missing debug symbols
Are these stashed anywhere in the Buildozer VM during the buildozer android debug phase?
Is there a way to either get the libs with the symbols or work around not having them on either Android Studio or the Buildozer VM?
If your APK includes native libraries (.so
files) that do not include debug symbols, the IDE shows you a warning in the Messages window. You cannot debug the APK’s native code or use breakpoints without attaching debuggable native libraries.
To attach debuggable native libraries, proceed as follows:
If the APK and debuggable native libraries were built using a different workstation, you need to also specify paths to local debug symbols by following these steps:
You should now see the native source files in the Project window. Open those native files to add breakpoints and debug your app as you normally would. You can also remove the mappings by clicking Clear in the Path Mappings section of the editor window .
Known issue: When attaching debug symbols to an APK, both the APK and debuggable
.so
files must be built using the same workstation or build server.
Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With