Solved : Cocos2dx 2.2.6 HELP!

(Eclipse)

IAP works fine on ios :smile:

Despite much effort I was unable to to receive any data within products on android. The product request call backs execute fine, but the data is empty.

Plenty help offered here, but no one was able to get me going.

I have started from scratch although now have a bigger issue. My new android project suffers from the :-
Cocos2dxActivity cannot be resolved to a type
Cocos2dxSurfaceView cannot be resolved to a type
The import.org.cocos2dx cannot be resolved

I have tried EVERY suggestion (over the last 3 days) from every forum I can find for linking source folders etc etc.
I have followed videos step by step, however when I complete I have these errors appearing right away.

It seems I am only missing one little thing…?

Currently, I have built cocos2dx with built native and imported that library.
I believe the supplied build_native.sh has an error in it, in that the cocos2dx_root value is wrong, so I have changed it to point at my cocos2dx install directory (next level in is projects/tools etc).

Thank you.

PS… The folder (that everyone says to link to) at cocosroot/cocos2dx/platform/android/java/src is empty…should it be?

EDIT: No ot shouldn’t :frowning: Dont know how it became empty. Thanks to time machine.

Did it work fine in the end?

hi

no, it just solved the compile problems

now crashing with exception in initialisation :frowning:

this is just soul destroying, need to fix this before i can even get back to the iap

thanks