-
Notifications
You must be signed in to change notification settings - Fork 22
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
Building app from source: ndk-build finished with non-zero exit #389
Comments
Hi @PieterVanB Did you try building the app with catkin tools:
The apk should end up in If building with catkin tools is not working, debugging with Android Studio is a good option.
If it is still not building, you can try using |
After removing the build & devel folder I ran it:
There is no Debugging with Android Studio just gives me
But I can't understand any of it. I can also send you the error log file, if you like. As for the copy-paste from the building tutorial, I did all that. What do? |
If I'm not mistaken catkin prints out the actual gradlew command that is executed, can you try to manually execute that command, it should give you more information on why it fails. |
@PieterVanB @PerrineAguiar hi ~I get same problem ,"Process 'command '/opt/android-ndk-xxxx/ndk-build'' finished with non-zero exit value 2", ```I 'm using phab 2 pro.using Android 6.01 and using NDK 10e.10b, changing path files, local.properties, changing File Structure, changing things in gradle.properties, ~~ |
Debugging with Android Studio just gives me
Do you solve it? @PieterVanB |
You can try to build with catkin in verbose mode:
This might give you more inputs on why it failed. |
I wanted to get maps out of the app that weren't thresholded, and I was told in the github issue section to just build the source from app. I've tried everything today, using Android 8.1, 8.0, 4.4 and using NDK 16, 11c, 10e, changing path files, local.properties, changing File Structure, changing things in gradle.properties, every solution I could find online.
I still get the same error. "Process 'command '/opt/android-ndk-xxxx/ndk-build'' finished with non-zero exit value 2", no matter what I do or try.
The text was updated successfully, but these errors were encountered: