Jni.h error

  • pnyusb
    Likes 0

    Problem Description

    I don’t know why but I have this error : cannot open source file “jni.h” in JniHelper.h but this is not the first time I use jni and I didn’t have this error before


  • Sonar Systems admin
    Likes 0

    Is this a fresh project or did you follow some particular tutorial?

  • pnyusb
    Likes 0

    Fresh project and I installed jdk.

    #include <jni.h> don’t work.


  • Sonar Systems admin
    Likes 0

    Is this a fresh Cocos2d-x project?

  • pnyusb
    Likes 0

    It’s ok a fix the problem.

  • Sonar Systems admin
    Likes 0

    Great to hear.

     

    If you have anymore problems feel free to post them here.

Login to reply