AppStateManager error Android Setting Google Play Service for cocos2dx

  • vaidgar
    Likes 0

    Problem Description

    I set up Google play service like tutorial http://www.sonarsystems.co.uk/cocoshelper.php?platform=android&plugin=helper-googleplayservices
    But I have errors:
    AppStateManager cannot be resolved to a variable    GooglePlayServicesGameHelper.java    /Prototype/src/sonar/systems/frameworks/GooglePlayServices    line 307    Java Problem
    AppStateManager cannot be resolved to a variable    GooglePlayServicesGameHelper.java    /Prototype/src/sonar/systems/frameworks/GooglePlayServices    line 308    Java Problem
    The import com.google.android.gms.appstate cannot be resolved    GooglePlayServicesGameHelper.java    /Prototype/src/sonar/systems/frameworks/GooglePlayServices    line 32    Java Problem
    How to fix these errors?

     


  • Sonar Systems admin
    Likes 0

    Have you added the jar file?

  • vaidgar
    Likes 0

    Yes I added the jar file.

  • Sonar Systems admin
    Likes 0

     try an older Google play services jar file I think I uploaded one to the git 

Login to reply