facebook sharing in android

  • amisha
    Likes 0

    Problem Description

    hello SS
    Now i implement the facebook sharing in cocos2dx using android studio.but on sharing button tap game is crashed.

    i refer this video :https://www.youtube.com/watch?v=eU1823UJ0cQ

    i use sonarcocoshelper v 1.46.00

    Error is like

     

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

     

     java.lang.NullPointerException: Attempt to invoke virtual method 'void sonar.systems.frameworks.BaseClass.Framework.Share(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)' on a null object reference         at sonar.systems.framework.SonarFrameworkFunctions.FacebookShare(SonarFrameworkFunctions.java:654)
                at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native Method)
                at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:91)
                at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
                at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

     


  • Sonar Systems admin
    Likes 0

    Cocos Helper doesn’t support Android Studio.

  • amisha
    Likes 0

    ok Thank you ,can you  guide any another proper reference

  • Sonar Systems admin
    Likes 0

    For Android Studio?

  • amisha
    Likes 0

    yes          

  • Sonar Systems admin
    Likes 0

    No solution ATM 

Login to reply