Hi, when i tried to use jni i have lot of errors like,
‘args’ was not declared in this scope line 586, external location: /Applications/android-ndk-r8b/platforms/android-8/arch-arm/usr/include/jni.h
‘JavaVM’ does not name a type line 42, external location: /Users/Irfan/Documents/Irfan/cocos2d-2.0-x-2.0.4/cocos2dx/platform/android/jni/jniHelper.h
‘cocos2d::JniMethodInfo’ has a previous declaration as ‘typedef struct cocos2d::JniMethodInfo_ cocos2d::JniMethodInfo’ line 37, external location: /Users/Irfan/Documents/Irfan/cocos2d-2.0-x-2.0.4/cocos2dx/platform/android/jni/jniHelper.h
‘string’ in namespace ‘std’ does not name a type line 182, external location: /Users/Irfan/Documents/Irfan/cocos2d-2.0-x-2.0.4/cocos2dx/cocoa/CCDictionary.h
341 errors are occurring.
What m i doing wrong? i already have ndk attached with eclipse…
And the other thing i m facing that sometimes when i clean my project in eclipse my gen folder files have been gone…is it normal or problem?
help me i will be very thankful to you.