Cocos2d-x console compiling error

  • barabasandras1
    Likes 0

    Problem Description

    Hey, I just created a new project via console, but I can’t make it work. I get the following error when I try to compile the new project:
    ”GoogleInc.:GoogleApi:21 is not a valid android target platform.”

    Thing is, I’m at work and I’m not able to fetch new or old android APIs from the SDK Manager because of network restrictions here (although I have 5.01 for sure installed, says the SDK Manager). How can I solve this, what are my possibilites? I can download anything directly, but not fetch.


  • Sonar Systems admin
    Likes 0

    Is this for work?

  • barabasandras1
    Likes 0

    What do you mean? Nope, I just created a test project (at my workplace, I’m bored, haha).

  • Sonar Systems admin
    Likes 1

    Well if you don’t have full permissions best if you do it at home.

  • barabasandras1
    Likes 0

    Aight mate, thanks anyway!

  • Sonar Systems admin
    Likes 1

    Sorry couldn’t be of more help.

Login to reply