I created a java source in my project based on cocos2d-x 3.0 alpha0 which includes :
import org.cocos2dx.lib.Cocos2dxHelper;
for the purpose to using ‘Cocos2dxHelper.getActivity()’.
Now I want to move my project to 3.0 beta, but it report an error with
import org.cocos2dx.lib.Cocos2dxHelper;
How to fix the error?
This class still exists.
I guess something is wrong in your configuration?
Rao ZiJian wrote:
This class still exists.
I guess something is wrong in your configuration?
What new configuration about Cocos2dxHelper should I add on v3.0 beta? It all works fine on v3.0 alpha.
In eclipse your project property -> Android, check the cocos2dx Library reference is tick.
As the pictures shows in my file.
Rao ZiJian wrote:
In eclipse your project property -> Android, check the cocos2dx Library reference is tick.
As the pictures shows in my file.
I found cocos2dx Library reference is wrong in my project.
How to edit it? I click Add button but it cannot choose any folder.
I don’t really understand why you cannot choose any folder.
Try to delete the older folder, then maybe you can add it
Rao ZiJian wrote:
I don’t really understand why you cannot choose any folder.
Try to delete the older folder, then maybe you can add it
I click Add button and a dialog appears but I cannot find any button on it.