-
Notifications
You must be signed in to change notification settings - Fork 47
Game crash when use google play services #47
Description
i use cocos2dx v3.10, and Android studio for dev, when i use google playservice (SonarFrameworkSettings.USE_GOOGLE_PLAY_GAME_SERVICES). My game crash when call:
if (!SonarCocosHelper::GooglePlayServices::isSignedIn()) {
SonarCocosHelper::GooglePlayServices::signIn();
}
Log crash:
02-20 23:38:07.386 12311-12358/com.mystudio.puzzlegame W/GooglePlayServicesUtil: Google Play services out of date. Requires 8487000 but found 7574036
02-20 23:38:07.436 12311-12422/com.mystudio.puzzlegame W/GooglePlayServicesUtil: Google Play services out of date. Requires 8487000 but found 7574036
02-20 23:38:07.576 12311-12356/com.mystudio.puzzlegame D/CocosPlayClient.cpp: isEnabled = 0
02-20 23:38:07.576 12311-12356/com.mystudio.puzzlegame D/CocosPlayClient.cpp: isDemo = 0
02-20 23:38:07.576 12311-12356/com.mystudio.puzzlegame D/CocosPlayClient.cpp: isNotifyFileLoadedEnabled = 0
02-20 23:38:07.656 12311-12311/com.mystudio.puzzlegame D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
02-20 23:38:08.447 12311-12356/com.mystudio.puzzlegame D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
02-20 23:38:08.447 12311-12356/com.mystudio.puzzlegame V/Cocos2dxActivity: cancelLocalNotification
02-20 23:38:08.467 12311-12356/com.mystudio.puzzlegame V/Cocos2dxActivity: showLocalNotification
02-20 23:38:08.467 12311-12356/com.mystudio.puzzlegame W/dalvikvm: dvmFindClassByName rejecting 'sonar/systems/framework/SonarFrameworkFunctions'
02-20 23:38:08.467 12311-12356/com.mystudio.puzzlegame D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
02-20 23:38:08.757 12311-12356/com.mystudio.puzzlegame D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
02-20 23:38:08.807 12311-12356/com.mystudio.puzzlegame W/dalvikvm: Invalid indirect reference 0x41c89300 in decodeIndirectRef
02-20 23:38:08.807 12311-12356/com.mystudio.puzzlegame E/dalvikvm: VM aborting
02-20 23:38:09.188 12311-12311/com.mystudio.puzzlegame W/dalvikvm: VFY: unable to resolve virtual method 16398: Landroid/webkit/WebSettings;.setMixedContentMode (I)V
02-20 23:38:09.198 12311-12311/com.mystudio.puzzlegame W/dalvikvm: VFY: unable to resolve virtual method 16409: Landroid/webkit/WebView;.evaluateJavascript (Ljava/lang/String;Landroid/webkit/ValueCallback;)V
02-20 23:38:09.208 12311-12311/com.mystudio.puzzlegame W/dalvikvm: VFY: unable to resolve virtual method 41000: Lcom/google/android/gms/internal/zzjt;.isAttachedToWindow ()Z
02-20 23:38:09.498 12311-12370/com.mystudio.puzzlegame E/SQLiteLog: (1) no such table: CacheGroups
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: ERROR:
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: Application Cache Storage: failed to execute statement "DELETE FROM CacheGroups" error "no such table: CacheGroups"
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: external/webkit/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp(558) : bool WebCore::ApplicationCacheStorage::executeSQLCommand(const WTF::String&)
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame E/SQLiteLog: (1) no such table: Caches
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: ERROR:
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: Application Cache Storage: failed to execute statement "DELETE FROM Caches" error "no such table: Caches"
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: external/webkit/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp(558) : bool WebCore::ApplicationCacheStorage::executeSQLCommand(const WTF::String&)
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame E/SQLiteLog: (1) no such table: Origins
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: ERROR:
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: Application Cache Storage: failed to execute statement "DELETE FROM Origins" error "no such table: Origins"
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame D/WebKit: external/webkit/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp(558) : bool WebCore::ApplicationCacheStorage::executeSQLCommand(const WTF::String&)
02-20 23:38:09.508 12311-12370/com.mystudio.puzzlegame E/SQLiteLog: (1) no such table: DeletedCacheResources
02-20 23:38:09.598 12311-12356/com.mystudio.puzzlegame A/libc: Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 12356 (Thread-8624)
Pls help me fix that.