-
warning717Likes 0Problem Description
Running the command cocos run -p android doesnt seem to work.
Can't find right android-platform for project : "/Users/User/Desktop/CocosProject/proj.android". The android-platform should be equal/larger than 10
-
Sonar Systems adminLikes 0
OH, one of my colleagues had that issue, I will ask him to post here later today.
-
warning717Likes 0
That would be great :D Thank you
-
Sonar Systems adminLikes 0
Hello
Import the project into eclipse, if you still have the same issue then right click your project, go to properties and open the section marked as Android.
Under Project Build Target select the Android target like so
-
warning717Likes 1
Ok that helped but now Eclipse is giving me some other errors.
libcocos2dx] Unable to resolve target 'android-10'
[2015-02-05 16:38:38 - MyCppGame] Unable to resolve target 'android-10'and about 5 of these
[2015-02-05 16:42:47 - MyCppGame] Application package 'AndroidManifest.xml' must have a minimum of 2 segments.
*UPDATE*
Solved!
I went into the android manifest and under package which was originally “android” switched it to org.cocos2dx.cpp which I was able to run on my android deviceThanks for the help! :D
-
Sonar Systems adminLikes 1
Great to hear that you was able to solve it :D
If your done with this question then could you mark it solved please, so others know they can get the answer from here.
Login to reply