I am working on an application that uses NDK (everything I write happened on both r6b and r8d)
Everything worked fine, and I wanted to start and try to debug my C code.
I followed this http://tools.android.com/recent/usingthendkplugin tutorial, but the tag NDK_DEBUG = 1in my build team, I suddenly started getting errors in the code that didn’t go away even after deleting this tag, changing from Android 4.2.2 to 2.2, changing the NDK that I used, or something else I might think.
Now problems arise inside operators such as
#ifdef __ANDROID__
some cool android code
#else
some pretty awesome iOS code
#endif
what happens, which __ANDROID__for some reason does not determine, forcing eclipse and ndk-buildtrying to compile iOS code instead of Android
Returning everything I did seems to have no effect. Restarting an eclipse is wrong. Clean up the project, completely remove the directories libsand objalso did not work.
Any suggestions?
Thank!
EDIT:
It might be worth adding that the build itself using ndk-build is successful. I think this may be a problem with eclipse, but even if it is, it is still an error, and I cannot start the application
In addition, just in case, restarting the computer also did not work.
EDIT 2: The problem exists on another computer that is working with the same workspace over the network, my guess was related to the workspace, so I tried to delete the folder .metadataand add the project again.
.metedata , ( ) , .metadata
3:
- .
, , , , Native eclipse, .
, :
- , Native.
- eclipse (juno),
CDT ADT ( ADT Eclipse)