android / win32 deployment problem

I followed this tutorial
http://www.jesusbosch.com/2012/06/how-to-set-up-android-and-win32-cocos2d.html

But I’m stuck at step 10. I don’t know what to type in. :frowning:
It asks for the project location somewhat like this (com.yourproject.something), project name and id
I’ve tried to put in com.mygame.test (location), sample(project name), 2 (id) but
an error occurs which says “Don’t run on cygwin. You should use corresponding bat.”
It does create a folder named “sample”. with proj.android. but there’s no build_native.sh file on that folder.
I think it’s something about my project location.
My project is in C:-cocos2d-x-dd263a0
“create-android-project.bat” is in this directory
“mygame” folder is also in this directory

Could someone help me please?

Did you correctly insert ndk, sdk, cygwin path?

Please upload your create-andoird-project.bat

i think i correctly inserted them… no errors have showed related on their paths…
Here is my create-android-project.bat

oh, i find problem.

your ndk root path has space.
(set NDKROOT=C:Kit\android-ndk-r8b)
Delete space like it : set
NDKROOT=C:-Kit\android-ndk-r8b

Oh I see… there it is, the build_native.sh finally showed up… and there are no errors…
Thank you very much dude… :slight_smile:

Hmm, but i wonder why in the files created under the “resources” folder, the images i’ve put on
the VS project are not there?
well if i put on the project name of the created VS project it says it exists, so i just put on another name…
And they are separate folders now…
The folder created contains a proj.android folder…
I think they should be in the same folder as my VS project?
What might I be doing wrong? please help

Rick Lopez wrote:

I followed this tutorial
http://www.jesusbosch.com/2012/06/how-to-set-up-android-and-win32-cocos2d.html
>
But I’m stuck at step 10. I don’t know what to type in. :frowning:
It asks for the project location somewhat like this (com.yourproject.something), project name and id
I’ve tried to put in com.mygame.test (location), sample(project name), 2 (id) but
an error occurs which says “Don’t run on cygwin. You should use corresponding bat.”
It does create a folder named “sample”. with proj.android. but there’s no build_native.sh file on that folder.
I think it’s something about my project location.
My project is in C:UsersRickDocumentswalzer-cocos2d-x-dd263a0
“create-android-project.bat” is in this directory
“mygame” folder is also in this directory
>
Could someone help me please?

That’s not wrong. Created folder is android’s project.

And now Create Android Project from Existing Source on eclipse.

If you want build your cocos2dx source, put source in Classes folder(ex : sample/Classes)
And modify .mk file.

I’m sorry to can’t understand your question…. because i’m not good at english.
if you read tutorial, you will understand how develop your game.

I think my problem is related to this so if anyone could please take a look at it too n guide me in the right direction i would be really thankful.
http://www.cocos2d-x.org/boards/6/topics/17322