@gmayer wrote:
I’ve downloaded cocos2d-x 3.17.2, unzipped, and ran setup.py.
I opened tests/cpp-tests/proj.android in Android Studio (3.4.1)
I got an “Error configuring” very much like this post: https://github.com/cocos2d/cocos2d-x/issues/19293
I had to change
#PROP_BUILD_TYPE=cmake
to
PROP_BUILD_TYPE=ndk-build
in
gradle.properties,
like the post advises - then it compiled.I’m not sure what I’m doing here to be honest - I’m completely knew to Android - but since that post is from January, this ought to be fixed by now.
Then, trying to run the test, I’m completely missing the stuff from Resources - I can see in Android Studio that I do not have an “assets” folder that it should have gotten copied into, and the first asset it tries to load (arial.ttf) it can’t find.
Sounds similar to this:
I would really like to get the tests to run. What do I have to change to get the Resources copied into the package?
Note that if I create a new project with cocos cmd line tool, the Resources for that do get added to the package, and I am able to run the placeholder app.
Thanks
Greg
Posts: 19
Participants: 5