android.content.ActivityNotFoundException:
at android.app.Instrumentation.checkStartActivityResult (Instrumentation.java:1936)
at android.app.Instrumentation.execStartActivity (Instrumentation.java:1615)
at android.app.Activity.startActivityForResult (Activity.java:4472)
at android.app.Activity.startActivityForResult (Activity.java:4430)
at com.sdkbox.plugin.SdkboxGPGAchievements.showAchievements (SdkboxGPGAchievements.java:465)
android.content.ActivityNotFoundException:
at android.app.Instrumentation.checkStartActivityResult (Instrumentation.java:1936)
at android.app.Instrumentation.execStartActivity (Instrumentation.java:1615)
at android.app.Activity.startActivityForResult (Activity.java:4472)
at android.app.Activity.startActivityForResult (Activity.java:4430)
at com.sdkbox.plugin.SdkboxGPGLeaderboards.showLeaderBoardImpl (SdkboxGPGLeaderboards.java:440)
at com.sdkbox.plugin.SdkboxGPGLeaderboards.showLeaderboard (SdkboxGPGLeaderboards.java:279)
Any idea why this would be happening? This is a release app downloaded from Google Play store
Edit: I’m not sure if there is some OAuth problem- the instructions from google were a lot more complex than the process I went through- basically it seemed to generate everything for me, and gave me the message: “You only need to include the application ID (my app number) in your Android app.”, which I did. This was for an app that was already on the store though, so maybe that was all taken care of…
I should mention this is using cocos2d-x v3.15.1, and sdkbox v1.0.1.24, and written in C++
The device that was used for testing was a Nexus 6P running Android O
I also upgraded the sdk numbers not sure if this would affect anything?
PROP_COMPILE_SDK_VERSION=26
PROP_MIN_SDK_VERSION=15
PROP_TARGET_SDK_VERSION=26
PROP_APP_PLATFORM=15
Yes that line is there.
Is it possible that increasing compileSdkVersion to 26 is the problem? Maybe it is calling for a screen that doesn’t exist in later versions