|Android Native Support Problems [message #1701304]
||Fri, 10 July 2015 17:48
| Zachary Marcus
Registered: July 2015
Hey, I am having some issues with the NDK and need some help.|
I am running Eclipse Mars on Ubuntu 14.04 and trying to get Native Support for android development working.
I downloaded the ndk and made sure the ndk location set in Eclipse preferences is /blah-blah/android-ndk-r10e, the correct location. I exported the ndk-build command. I went to Android Tools and selected "Add Native Support".
On nearly every line of C++, though, there is an error.
Line 6: using namespace std; //Symbol 'std' could not be resolved
and similar problems such as "Function printf could not be resolved"
A similar problem:
I downloaded and ran the HelloJNI program that the ndk comes with. It ran as expected.
Then, I opened one of the C files contained there and it now displays a bunch of errors there.
HelloJNI will no longer run, it gives the error:
"Your project contains errors, please fix them before running your application."
There are unresolved inclusions, i.e. string.h and jni.h
I have tried a fair bit to fix this error, and am at a loss. Assistance would be appreciated, on settings I could check to help others fix my problem or for an actual solution.
Powered by FUDForum
. Page generated in 0.02729 seconds