Error Message when Trying to Run the Sample Cocos-2DX Android Project on Eclipse

659 views Asked by At

After following the directions on the Cocos-2DX site to get the android environment set up, I'm coming across this issue when trying the run the project as an Android application

[2013-12-03 22:12:10 - HelloCpp] Unable to resolve target 'android-13' [2013-12-03 22:21:10 - HelloCpp] (skipping file '.gitignore' due to ANDROID_AAPT_IGNORE pattern '.*') [2013-12-03 22:21:10 - HelloCpp] Unable to add 'D:\Cocos-2DX\cocos2d-x-2.2\samples\Cpp\HelloCpp\proj.android\assets\app.icf': Zip add failed [2013-12-03 22:21:10 - HelloCpp] ERROR: unable to process assets while packaging 'D:\Cocos-2DX\cocos2d-x-2.2\samples\Cpp\HelloCpp\proj.android\bin\resources.ap_' [2013-12-03 22:21:10 - HelloCpp] ERROR: packaging of 'D:\Cocos-2DX\cocos2d-x-2.2\samples\Cpp\HelloCpp\proj.android\bin\resources.ap_' failed

All my path and environment variables have been set up, so I'm not sure what could be causing the issue. Any assistance is greatly appreciated

1

There are 1 answers

3
Siddharth_Vyas On

Try this :

Right click project --> go to properties --> select Android from there --> and from the list of target name select Android 3.2 or lesser

Error means that you do not have api level 13 installed in your sdk manager. So you can download api 13 using android sdk manager.

Also check this : SO Post for this

Hope this helps.