Will Tan
Will Tan

Reputation: 11

GoogleInc.:GoogleAPIs:19 is not a valid android target platform

The project was first developed in windows, but it change to mac now. I am getting this error:

GoogleInc.:GoogleAPIs:19 is not a valid android target platform.

when I run cocos compile -p android. I installed the Google API 19, but still get this error. Cocos2d-x version is 3.5, and use android-ndk-r9d.

Upvotes: 0

Views: 72

Answers (2)

Will Tan
Will Tan

Reputation: 11

I found the reason, I delete proguard-project.txt,local.properties and project.properties, and then run android update project --path . --subprojects --target android-19.

Upvotes: 1

user1882196
user1882196

Reputation: 127

You need to change the location of the SDK according to what is on your computer And change the VERISION SDK

Upvotes: 0

Related Questions