-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specified toolchain "arm-linux-androideabi-4.9" is missing in your NDK or broken #7
Comments
Please also share the command you typed to get the first error message. |
It was the same command. Sorry, I have not said when the error occurs. After I run |
To make it clear. The error Then I got an error that This could be fixed by adding following line to
And now I got another error:
|
Hello, Instead of patching your Then, it is possible that the Android NDK you defined to use with According to the CMake code in the |
Hi,
I tried to use the toolchain for android-arm but I got this error:
So, one step after another...
I created a Ubuntu 16.04 virtual machine. I installed Python 2.7 and pip for Python 2.7. Then I installed the Python SDK. After that I installed the C++ SDK and qibuild. Then I downloaded the Java SDK and the JavaScript SDK. With all this I have written basic examples for a Pepper with NAOqi 2.5. Then I tried to use the Java SDK in my Android Project. Sadly this does not work. After that I have seen in libqi-java that there could be a possibility.
I installed Android Studio by using the Ubuntu Software Center. At first I have installed NDK by going to Tools --> SDK Manager --> SDK Tools. But sadly this was NDK 24.x. Then I uninstalled this version. The oldest version I can find inside SDK Tools was 16.x. I then downloaded android-ndk-r8e. I unzipped it to the location where Android Studio normally would install Android NDK.
For better understandig... This are my enviroment variables:
You have written in your README.md that ANDROID_NDK_HOME should point to /path/to/android-ndk-r8e. If I run qibuild the ANDROID_NDK_ROOT should point to that location. I fixed it. But inside of the android-ndk-r8e there is no arm-linux-androideabi-4.9. I then edited
/home/nao/.local/share/qi/toolchains/android-arm/ndk/toolchain.cmake
by adding:After that I run into the next error:
I can locate it:
Maybe you have a solution for this issue.
What I have done before was doing following steps:
The next step would not work:
You can find this issue here:
aldebaran/manifest#2
A workaround is to clone it from github directly.
I also does not use ~/work. I will use ~/worktree. Because this was described so in the installation guide for the C++ SDK.
The next steps would be:
Perhaps in the further procedure would be even more errors that I become aware of.
Thanks in advance.
The text was updated successfully, but these errors were encountered: