java.lang.IllegalStateException: Could not initialize the platform sdk; error code: -1

GitHub | rahul27 | 4 months ago
  1. 0

    GitHub comment 818#250047158

    GitHub | 4 months ago | rahul27
    java.lang.IllegalStateException: Could not initialize the platform sdk; error code: -1
  2. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  3. 0
    The cursor might not be initalized.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  6. 0
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Could not initialize the platform sdk; error code: -1

      at org.gearvrf.PlatformEntitlementCheck.start()
    2. org.gearvrf
      PlatformEntitlementCheck.start
      1. org.gearvrf.PlatformEntitlementCheck.start(PlatformEntitlementCheck.java:63)
      1 frame
    3. org.gearvrf.simplesample
      SampleMain.onInit
      1. org.gearvrf.simplesample.SampleMain.onInit(SampleMain.java:66)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. org.gearvrf
      GVREventManager.invokeMethod
      1. org.gearvrf.GVREventManager.invokeMethod(GVREventManager.java:307)
      1 frame