Cocos2dx problem setting up on windows

  • Damiooo
    Likes 0

    Problem Description

    Hello,

    I’m stuck on the process of building my android project by launching the file build_native.py…

    I get this error:

    C:\Users\Damiano\Desktop\Test\proj.android>build_native.py
    Please use cocos console instead.
    
    Building mode: debug
    Using Eclipse project : C:\Users\Damiano\Desktop\Test\proj.android
    Android platform not specified, searching a default one...
    Can't find right Android-platform for project : 'C:\Users\Damiano\Desktop\Test\proj.android'. The Android-platform should be equal/larger than 15.
    Traceback (most recent call last):
      File "C:\Users\Damiano\Desktop\Test\proj.android\build_native.py", line 43, in <module>
        build(opts.build_mode)
      File "C:\Users\Damiano\Desktop\Test\proj.android\build_native.py", line 28, in build
        raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
    Exception: Build dynamic library for project [ C:\Users\Damiano\Desktop\Test\proj.android\../ ] fails!
    
    C:\Users\Damiano\Desktop\Test\proj.android>

    All the env-var is set correctly, what should i do?

    thanks

  • Sonar Systems admin
    Likes 0

  • Damiooo
    Likes 1

    Thanks it worked!

  • Sonar Systems admin
    Likes 0

    Great to hear.

Login to reply