Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Android Native Support Problems(Problems with Android native support and android tools)
Android Native Support Problems [message #1701304] Fri, 10 July 2015 17:48 Go to next message
Zachary Marcus is currently offline Zachary MarcusFriend
Messages: 1
Registered: July 2015
Junior Member
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] Sat, 11 July 2015 02:25 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
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.
Previous Topic:Jetty - Async callbacks
Next Topic:Performance Issues with Linux
Goto Forum:
  


Current Time: Fri Mar 29 07:59:26 GMT 2024

Powered by FUDForum. Page generated in 0.06327 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top