arm-linux-androideabi-gdb does not exist Android GCC 4.9
-
I tried to debug an Android application with Qt Creator v5.6.0, but could not configure the Android debugger:
Error: Debugger "Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gdb" not found.
[http://postimg.org/image/66g14xucx/](Screenhost arm-linux-androideabi-gdb not found)
The directory on my harddisk exists, but does not contain this executable.
This is what I've done:
- Ubuntu 15.10 64-bit
- Tools installed:
$ sudo apt-get install
libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
libsdl1.2debian:i386
lib64stdc++6
build-essential
libgl1-mesa-dev
openjdk-8-jdk
openjdk-8-jre - Qt Creator installed: qt-opensource-linux-x64-android-5.6.0.run
- android-sdk_r24.4.1-linux.tgz downloaded and extracted.
- All updates installed:
$ tools/android update sdk --no-ui - In Qt Creator > Tools > Options > Android:
JDK location: /usr/lib/jvm/java-8-oracle
Android SDK location: /home/<user>/Android/Sdk
Android NDK location: /home/<user>/Android/Sdk/ndk-bundle - In Qt Creator > Tools > Options > Build & Run > Kits:
Exclamation mark: Android for armeabi-v7a (GCC 4.9, Qt 5.6.0)
Can someone help me further?
Thanks!
-
Hi and welcome to devnet,
AFAIK, you should currently use an older NDK which still provides arm-linux-androideabi-gdb
-
@SGaist
I have same problem and even I downloaded latest ndk (android ndk r13b), still not getting this executed file within the folder.Do you have any idea about the same, how can I resolve it or any other alternative ?
-
I resolved it at my end.
I found the folder path inside ndk folder was wrong, I provide right one and edit 'build.gradle' to its version and now its creating .apk file
-
Good !
Then please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
-
My bad, I forgot that you weren't the original poster.