Hello,
Currently I have a win32 and iOS working project. What this means is that it builds and runs on both win32 and on iPhone. Today I was trying to get the project to work on android. These are the steps I took to set myself up:
- Rename the project folder from ColorShift to ColorShift1
- Ran create-android-project.bat with the following paramaters “org.cocos2dx.colorshift” and “ColorShift”
- copied the proj.android folder from the ColorShift folder to ColorShift1
- Deleted ColorShift and renamed ColorShift1 to Colorshift
- In Eclipse I did File>Import>Android>Existing Android Code Into Workspace
- Browsed to the proper root directory
It looks like it imported the porject because I see all the source files that I see in project.android but I get 4 Errors and I am unsure how to resolve them:
Description Resource Path Location Type
error: Error: No resource found that matches the given name (at ‘icon’ with value ‘@drawable/icon’). AndroidManifest.xml /ColorShift line 9 Android AAPT Problem
The import org.cocos2dx.lib cannot be resolved ColorShift.java /ColorShift/src/org/cocos2dx/colorshift line 26 Java Problem
Cocos2dxActivity cannot be resolved to a type ColorShift.java /ColorShift/src/org/cocos2dx/colorshift line 33 Java Problem
Cocos2dxActivity cannot be resolved to a type ColorShift.java /ColorShift/src/org/cocos2dx/colorshift line 30 Java Problem
Any ideas how to fix this?
Thanks!