Cocos2dx 3.4 Android Installation Tutorial

Hi, I made a quick video to help beginners or people new to Cocos2d-x - I thought the readme and setup was a bit cryptic last release!

Hope it helps someone.

Cocos2dx 3.4 Install Guide

Thank you. Very helpfull. After I watched this video, I finally could run cocos2d-x Hello World on my tablet.

You’re welcome, glad it helped.

Hi, there.
Thanks for your video tutorial.
I am very beginner for cocos2d-x. But I have prior knowledge with c++ fundamentals.

It works fine ‘FPS:60’ on my android 4.4.2 Tab after build and run.
But when I try to change ‘HelloWorldScene.h’ and ‘HelloWorldScene.cpp’ , It gives me error on build project inside eclipse.

The changes are only like where ever the ‘HelloWorld’ i replace the ‘SplashScreen’ according where ever it needs to be.

The errors are,

  1. make.exe: *** No rule to make target jni/../../Classes/HelloWorldScene.cpp', needed byobj/local/armeabi/objs/cocos2dcpp_shared///Classes/HelloWorldScene.o’. Stop.

  2. make.exe: *** Waiting for unfinished jobs…

One more thing there are three warning appears also when I import ‘libcocos2dx’ like below:

  1. Invalid project path: Include path not found (D:\GAME_DEVELOPMENT\COCOS2D-X_Projects\Learning\HelloWorld\cocos2d\cocos\math\kazmath).

  2. The method dumpMotionEvent(MotionEvent) from the type Cocos2dxGLSurfaceView is never used locally

  3. The value of the field Cocos2dxTextInputWraper.TAG is not used

Pls,let me know what to do now?

well, I have find out the reason. Its a Android.mk file. I should also change inside ‘Android.mk’ file by including all cpp files which are available in class folder. But two warnings are still there, and Its inside libcocos2d:

  1. The method dumpMotionEvent(MotionEvent) from the type Cocos2dxGLSurfaceView is never used locally
  2. The value of the field Cocos2dxTextInputWraper.TAG is not used.

Now, this things about .JAVA and m not getting it how to solve plz help someone.
Plz, reply me how to solve those warnings.