Andi McClure
2018-12-08 20:15:57 UTC
I have a question about using Android Studio with NDK and I can't figure
out where else to ask itâŠ
I am building NDK Android apps at the command line. When I want to debug
them, I follow these steps:
I build my app. Let's call this "build A". I open Android Studio and choose
"Profile and Debug APKâŠ" and select my APK. Then I have to do a bunch of
stepsâ I have to click "Select library to add debug symbols" and drag in
all the .so files I built, and I have to add an LLDB startup command to
silence SIGILL. Then I can click the Debug button and debug my app. Okay,
great.
But then there's a problem: The next time I build my app, the APK and the
.so's that I've loaded don't "update". Say I change the code and rebuild at
the command line. Let's call this "build B". If I click Debug in Android
studio, it doesn't run "build B". It continues running "build A", the APK
and .so's seem to be the ones that
, the program that i'm running in my "Profile and Debug APKâŠ" project
isn't the most recently compiled one. It seems to be the one that existed
at the time I originally clicked "Profile and Debug APKâŠ" in Android
Studio. I can click "Profile and Debug APKâŠ" and create a new project, but
then every single time I have to do all these steps.
Is there a way to tell an ? There is a task "
out where else to ask itâŠ
I am building NDK Android apps at the command line. When I want to debug
them, I follow these steps:
I build my app. Let's call this "build A". I open Android Studio and choose
"Profile and Debug APKâŠ" and select my APK. Then I have to do a bunch of
stepsâ I have to click "Select library to add debug symbols" and drag in
all the .so files I built, and I have to add an LLDB startup command to
silence SIGILL. Then I can click the Debug button and debug my app. Okay,
great.
But then there's a problem: The next time I build my app, the APK and the
.so's that I've loaded don't "update". Say I change the code and rebuild at
the command line. Let's call this "build B". If I click Debug in Android
studio, it doesn't run "build B". It continues running "build A", the APK
and .so's seem to be the ones that
, the program that i'm running in my "Profile and Debug APKâŠ" project
isn't the most recently compiled one. It seems to be the one that existed
at the time I originally clicked "Profile and Debug APKâŠ" in Android
Studio. I can click "Profile and Debug APKâŠ" and create a new project, but
then every single time I have to do all these steps.
Is there a way to tell an ? There is a task "
--
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 post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/af5fd856-637e-4419-aba2-6e2b9030c574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/af5fd856-637e-4419-aba2-6e2b9030c574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.