cocos2dx 2.0.4 (2012-11-02) no source files in project

cocos2dx 2.0.4 (2012-11-02) no source files in project
0.0 0

#1

Hi,
I have download cocos2dx 2.0.4(2012-11-02) and create project by running bat file for ANdroid, but there is no files generate inside the src\org\cocos2dx?
I have issue with version 2.0.3 also.
Can anyone help to resolve the issue.

OS: Windows 7(32 bit)
Platform : Android

Thank you.


#2

Please refer to http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_build_and_run_HelloWorld_on_Android(gles20_branch).


#3

Hi,
Thank you for replay.
I import the sample code from cocos2dx 2.0.4 but there is no package org.cocos2dx.lib ,it also not created if i run create-android-project.bat .

Thank you.


#4

I also encountered this problem.

Made it runs by importing all projects in cocos2d-x-2.0.4 folder (around 5, 6 projects) into Eclipse, not just the project I created.

Hope this issue will be fixed soon :slight_smile:

jigar shah wrote:

Hi,
I have download cocos2dx 2.0.4(2012-11-02) and create project by running bat file for ANdroid, but there is no files generate inside the srcorgcocos2dx?
I have issue with version 2.0.3 also.
Can anyone help to resolve the issue.
>
OS: Windows 7(32 bit)
Platform : Android
>
>
>
>
Thank you.


#5

HI,
I have resolve the issue,
I need to add manually package into project,you can find package $COCOS2DX_PATH/platform/android/java
for more details please check this out.
http://stackoverflow.com/questions/13302598/cocos2dx2-0-4-android-create-project-issue/

Thank you.


#6

where can find the package $cocos2dx_path/platform/android/java ?
in my cocos2dx path ,no contain this file.


#7

As i posted, the article describes it http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_build_and_run_HelloWorld_on_Android(gles20_branch).
As you can see, you should import libcocos2dx, it is a separate android project, and it is depended by all samples.