I'm trying to set up cocos2d-x for android and I followed a video tutorial
I passed the steps for terminal without any problem (setup.py
command result is as expected).
My problem is after I set NDK_ROOT
in C/C++ Build - environment section, I get some java.lang.NullPointerException
exceptions.
For example when I restart eclipse I get the following error.
An internal error occurred during: "Android Library Update".
java.lang.NullPointerException
When I try to reopen C/C++ Build - environment section I get The currently displayed page contains invalid values.
error and I can't edit the environment values.
I checked java build path, there is no JRE system library and when I try to add I get the same error
An error has occurred. See error log for more details.
java.lang.NullPointerException
How can I fix the problem? Thanks for your help.
I'm working on
- Mac OS 10.9.4
- android-ndk-r9d
- apache-ant-1.9.4
- cocos2d-x-3.2
- adt-bundle-mac-x86_64-20140702