Android Native Support Problems [message #1701304] |
Fri, 10 July 2015 13:48  |
Eclipse User |
|
|
|
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.
Thanks
|
|
|
Re: Android Native Support Problems [message #1701318 is a reply to message #1701304] |
Fri, 10 July 2015 22:25  |
Eclipse User |
|
|
|
The Android NDK isn't an Eclipse product and isn't something that the
people frequenting the forum are familiar with. We aren't able to
answer your questions. You should pursue the support options provided
by the suppliers of the NDK.
|
|
|
Powered by
FUDForum. Page generated in 0.11347 seconds