I have a C++ project in Android Studio that crashes at some point when running on a device.
The problem is that I receive some assembly dump instead of seeing the problem in the C++ code. Setting breakpoints does not work either.
My build.gradle contains the following:
externalNativeBuild {
cmake {
abiFilters "armeabi-v7a", "arm64-v8a"
cppFlags "-std=c++14"
arguments "-DCMAKE_BUILD_TYPE=Debug", "-DANDROID_TOOLCHAIN=gcc"
}
}
packagingOptions {
doNotStrip "*/armeabi-v7a/*.so"
doNotStrip "*/arm64-v8a/*.so"
}
buildTypes {
customDebugType {
debuggable true
minifyEnabled false
}
}
Unfortunately, it's not helping. Did anyone successfully debugged C++ code in Android Studio?
"-DANDROID_TOOLCHAIN=gcc"
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/b974d542-7999-4e3d-90a1-c23665c4d169n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "android-ndk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-ndk/S_EbW1xs00Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-ndk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhvd9KfVakxTg3y7o_g3eDVSKryqAKdiCXSzrt6BtgOq_w%40mail.gmail.com.