Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Unity Google Play License Verification plugin not working in x86

Discussion in 'Android' started by Simurr, Dec 18, 2014.

  1. Simurr

    Simurr

    Joined:
    Jan 2, 2012
    Posts:
    9
    Tried to get this working with 4.6.1 with a FAT build. Works on ARM devices but does not work with x86 (emulator, I don't have an Android x86 device).

    In the x86 emulator it crashes very quickly.

    Without the plugin the app works fine on the x86 emulator.

    Android logcat dump ---

    E/SoundPool( 1262): error loading /system/media/audio/ui/Effect_Tick.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/Effect_Tick.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/Effect_Tick.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/Effect_Tick.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/Effect_Tick.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/KeypressStandard.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/KeypressSpacebar.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/KeypressDelete.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/KeypressReturn.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg

    E/SoundPool( 1262): error loading /system/media/audio/ui/KeypressInvalid.ogg

    W/AudioService( 1262): Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg

    W/AudioService( 1262): onLoadSoundEffects(), Error -1 while loading samples

    I/ActivityManager( 1262): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity} from pid 1395

    E/gralloc_goldfish( 926): gralloc_alloc: Mismatched usage flags: 341 x 200, usage 333

    W/GraphicBufferAllocator( 926): alloc(341, 200, 1, 00000333, ...) failed -22 (Invalid argument)

    E/ ( 926): GraphicBufferAlloc::createGraphicBuffer(w=341, h=200) failed (Invalid argument), handle=0x0

    E/BufferQueue( 1262): [ScreenshotClient] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed

    W/WindowManager( 1262): Screenshot failure taking screenshot for (341x200) to layer 21005

    I/ActivityManager( 1262): Start proc com.nomadapps.awesumplus for activity com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity: pid=2228 uid=10057 gids={50057, 3003}

    E/cutils ( 921): Failed to mkdirat(/storage/sdcard/Android): Read-only file system

    W/ContextImpl( 2228): Failed to ensure directory: /storage/sdcard/Android/obb/com.nomadapps.awesumplus

    W/Vold ( 921): Returning OperationFailed - no handler for errno 30

    E/cutils ( 921): Failed to mkdirat(/storage/sdcard/Android): Read-only file system

    W/ContextImpl( 2228): Failed to ensure directory: /storage/sdcard/Android/data/com.nomadapps.awesumplus/files

    W/Vold ( 921): Returning OperationFailed - no handler for errno 30

    D/dalvikvm( 2228): Trying to load lib /data/app-lib/com.nomadapps.awesumplus-1/libmain.so 0xb0f9fc08

    D/dalvikvm( 2228): Added shared lib /data/app-lib/com.nomadapps.awesumplus-1/libmain.so 0xb0f9fc08

    D/ ( 2228): HostConnection::get() New Host Connection established 0xb8fb53f0, tid 2228

    I/ActivityManager( 1262): Displayed com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity: +220ms

    D/ ( 2228): HostConnection::get() New Host Connection established 0xb90bdaf0, tid 2244

    E/EGL_emulation( 2228): [getAttribValue] Bad attribute idx

    E/EGL_emulation( 2228): tid 2244: eglGetConfigAttrib(605): error 0x3004 (EGL_BAD_ATTRIBUTE)

    E/EGL_emulation( 2228): [getAttribValue] Bad attribute idx

    E/EGL_emulation( 2228): tid 2244: eglGetConfigAttrib(605): error 0x3004 (EGL_BAD_ATTRIBUTE)

    E/EGL_emulation( 2228): [getAttribValue] Bad attribute idx

    E/EGL_emulation( 2228): tid 2244: eglGetConfigAttrib(605): error 0x3004 (EGL_BAD_ATTRIBUTE)

    D/Unity ( 2228): GL_EXT_debug_marker GL_OES_EGL_image GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float

    W/libc ( 2228): pthread_create sched_setscheduler call failed: Operation not permitted

    W/SensorService( 1262): sensor 00000000 already enabled in connection 0xb90ce830 (ignoring)

    D/dalvikvm( 2228): GC_CONCURRENT freed 272K, 11% free 2766K/3100K, paused 11ms+1ms, total 13ms

    W/dalvikvm( 2228): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)

    W/dalvikvm( 2228): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)

    W/dalvikvm( 2228): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)

    W/dalvikvm( 2228): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)

    W/dalvikvm( 2228): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)

    W/dalvikvm( 2228): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)

    W/dalvikvm( 2228): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;)

    E/dalvikvm( 2228): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment

    W/dalvikvm( 2228): VFY: unable to resolve instanceof 170 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;

    D/dalvikvm( 2228): VFY: replacing opcode 0x20 at 0x0008

    E/dalvikvm( 2228): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment

    W/dalvikvm( 2228): VFY: unable to resolve check-cast 170 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;

    D/dalvikvm( 2228): VFY: replacing opcode 0x1f at 0x000c

    W/Unity ( 2228): GA Error: No network connection.

    W/Unity ( 2228):

    W/Unity ( 2228): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)

    W/Unity ( 2228):

    D/dalvikvm( 2228): GC_CONCURRENT freed 210K, 9% free 2940K/3212K, paused 13ms+0ms, total 15ms

    D/dalvikvm( 2228): GC_CONCURRENT freed 296K, 11% free 3030K/3388K, paused 7ms+0ms, total 9ms

    D/dalvikvm( 2228): DexOpt: --- BEGIN 'classes.jar' (bootstrap=0) ---

    W/linker ( 2256): libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.

    D/dalvikvm( 2256): DexOpt: load 1ms, verify+opt 0ms, 114292 bytes

    D/dalvikvm( 2228): DexOpt: --- END 'classes.jar' (success) ---

    D/dalvikvm( 2228): DEX prep '/data/data/com.nomadapps.awesumplus/cache/com.nomadapps.awesumplus/classes.jar': unzip in 0ms, rewrite 15ms

    W/dalvikvm( 2228): JNI WARNING: DeleteLocalRef on non-local 0x1d4004e6 (type=2)

    I/dalvikvm( 2228): "UnityMain" prio=5 tid=13 NATIVE

    I/dalvikvm( 2228): | group="main" sCount=0 dsCount=0 obj=0xb0fabdb8 self=0xb8fb6dd0

    I/dalvikvm( 2228): | sysTid=2244 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=-1191480768

    I/dalvikvm( 2228): | state=R schedstat=( 0 0 0 ) utm=30 stm=14 core=0

    I/dalvikvm( 2228): #00 pc 000bd4c6 /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+86)

    I/dalvikvm( 2228): #01 pc 000980a3 /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+1155)

    I/dalvikvm( 2228): #02 pc 00098396 /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+86)

    I/dalvikvm( 2228): #03 pc 0005f4cd /system/lib/libdvm.so

    I/dalvikvm( 2228): #04 pc 0049edd7 /data/app-lib/com.nomadapps.awesumplus-1/libunity.so

    I/dalvikvm( 2228): #05 pc 00003e6a <unknown>

    I/dalvikvm( 2228): at com.unity3d.player.UnityPlayer.nativeRender(Native Method)

    I/dalvikvm( 2228): at com.unity3d.player.UnityPlayer.a((null):-1)

    I/dalvikvm( 2228): at com.unity3d.player.UnityPlayer$a.run((null):-1)

    I/dalvikvm( 2228):

    E/dalvikvm( 2228): VM aborting

    D/Zygote ( 927): Process 2228 terminated by signal (6)

    W/InputDispatcher( 1262): channel 'b136e340 com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9

    E/InputDispatcher( 1262): channel 'b136e340 com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

    I/ActivityManager( 1262): Process com.nomadapps.awesumplus (pid 2228) has died.

    W/ActivityManager( 1262): Force removing ActivityRecord{b1344ee8 u0 com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity t5}: app died, no saved state

    W/InputDispatcher( 1262): Attempted to unregister already unregistered input channel 'b136e340 com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity (server)'

    I/WindowState( 1262): WIN DEATH: Window{b136e340 u0 com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity}

    W/WindowManager( 1262): Force-removing child win Window{b137b520 u0 SurfaceView} from container Window{b136e340 u0 com.nomadapps.awesumplus/com.unity3d.player.UnityPlayerNativeActivity}

    W/WindowManager( 1262): Failed looking up window

    W/WindowManager( 1262): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@b1358548 does not exist

    W/WindowManager( 1262): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7923)

    W/WindowManager( 1262): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7914)

    W/WindowManager( 1262): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1047)

    W/WindowManager( 1262): at android.os.BinderProxy.sendDeathNotice(Binder.java:493)

    W/WindowManager( 1262): at dalvik.system.NativeStart.run(Native Method)

    I/WindowState( 1262): WIN DEATH: null

    W/EGL_emulation( 1395): eglSurfaceAttrib not implemented

    W/Binder ( 1345): Caught a RuntimeException from the binder stub implementation.

    W/Binder ( 1345): java.lang.NullPointerException

    W/Binder ( 1345): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)

    W/Binder ( 1345): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)

    W/Binder ( 1345): at android.os.Binder.execTransact(Binder.java:404)

    W/Binder ( 1345): at dalvik.system.NativeStart.run(Native Method)

    W/InputMethodManagerService( 1262): Got RemoteException sending setActive(false) notification to pid 2228 uid 10057

    E/HardwareRenderer( 1395): An error has occurred while drawing:

    E/HardwareRenderer( 1395): java.lang.IllegalStateException: The display list is not valid.

    E/HardwareRenderer( 1395): at android.view.GLES20DisplayList.getNativeDisplayList(GLES20DisplayList.java:49)

    E/HardwareRenderer( 1395): at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:420)

    E/HardwareRenderer( 1395): at android.view.HardwareRenderer$GlRenderer.drawDisplayList(HardwareRenderer.java:1646)

    E/HardwareRenderer( 1395): at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1469)

    E/HardwareRenderer( 1395): at android.view.ViewRootImpl.draw(ViewRootImpl.java:2381)

    E/HardwareRenderer( 1395): at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2253)

    E/HardwareRenderer( 1395): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1883)

    E/HardwareRenderer( 1395): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)

    E/HardwareRenderer( 1395): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)

    E/HardwareRenderer( 1395): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)

    E/HardwareRenderer( 1395): at android.view.Choreographer.doCallbacks(Choreographer.java:574)

    E/HardwareRenderer( 1395): at android.view.Choreographer.doFrame(Choreographer.java:544)

    E/HardwareRenderer( 1395): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)

    E/HardwareRenderer( 1395): at android.os.Handler.handleCallback(Handler.java:733)

    E/HardwareRenderer( 1395): at android.os.Handler.dispatchMessage(Handler.java:95)

    E/HardwareRenderer( 1395): at android.os.Looper.loop(Looper.java:136)

    E/HardwareRenderer( 1395): at android.app.ActivityThread.main(ActivityThread.java:5017)

    E/HardwareRenderer( 1395): at java.lang.reflect.Method.invokeNative(Native Method)

    E/HardwareRenderer( 1395): at java.lang.reflect.Method.invoke(Method.java:515)

    E/HardwareRenderer( 1395): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

    E/HardwareRenderer( 1395): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

    E/HardwareRenderer( 1395): at dalvik.system.NativeStart.main(Native Method)

    V/ConfigFetchTask( 1374): ConfigFetchTask getDeviceDataVersionInfo(): ABFEt1Vm9URsz8jgKxX1iadnh3JZVOhjSN_C9f60Nek5B1U9v3OfGdleJvfFG-L72b-mGSM2-Cp01fFMj_S-DMhEboBV59SQIUx9zy1t_9yHw05gbnvcEQj8HfUbI1G4bodSccwfUd8j

    I/GoogleHttpClient( 1374): Falling back to old SSLCertificateSocketFactory

    D/dalvikvm( 1374): GC_CONCURRENT freed 353K, 11% free 4246K/4744K, paused 1ms+0ms, total 4ms

    I/ConfigFetchService( 1374): fetch service done; releasing wakelock

    I/ConfigFetchService( 1374): stopping self

    I/ConfigService( 1461): onDestroy

    I/EventLogService( 1374): Aggregate from 1418935665661 (log), 1418935665661 (data)

    W/EventLogAggregator( 1374): Unknown tag: snet

    W/EventLogAggregator( 1374): Unknown tag: snet_gcore

    W/EventLogAggregator( 1374): Unknown tag: snet_launch_service
     
unityunity