Failed to install no matching abis
EmmanuelMess opened this issue · comments
Emmanuel commented
When installing in a AVD with android API 24 I get:
adb: failed to install cnfgtest.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Ideas?
David Auer commented
Ideas?
Yes, try to build for all ABIs, to do that uncomment those lines:
Lines 93 to 97 in 9265128
Could you chose the ABI when creating the AVD? I'm not aware of tests in AVD so I'm interested to hear how it went.
Emmanuel commented
Went like this:
7-25 10:01:40.483 3953 3967 D cnfgtest: Starting with Android SDK Version: 24Starting Main
07-25 10:01:40.483 3953 3967 D cnfgtest: Start: 0xa05b5360
07-25 10:01:40.483 3953 3967 D cnfgtest: activityState=10
07-25 10:01:40.483 3953 3967 D cnfgtest: event not handled: 10Resume: 0xa05b5360
07-25 10:01:40.483 3953 3967 D cnfgtest: activityState=11
07-25 10:01:40.485 3953 3967 D cnfgtest: event not handled: 11InputQueueCreated: 0xa05b5360 -- 0xa05b54a0
07-25 10:01:40.490 3953 3967 D cnfgtest: APP_CMD_INPUT_CHANGED
07-25 10:01:40.509 1322 1322 E Layer : [Starting org.yourorg.cnfgtest] rejecting buffer: bufWidth=1080, bufHeight=1794, front.active.{w=1, h=1}
07-25 10:01:40.512 3953 3967 D cnfgtest: Attaching input queue to looperevent not handled: 0NativeWindowCreated: 0xa05b5360 -- 0xa059d508
07-25 10:01:40.512 3953 3967 D cnfgtest: APP_CMD_INIT_WINDOW
07-25 10:01:40.512 3953 3967 D cnfgtest: Got start event
07-25 10:01:40.514 3953 3967 D cnfgtest: EGL Version: "1.4 Android META-EGL"
07-25 10:01:40.514 3953 3967 D cnfgtest: EGL Vendor: "Android"
07-25 10:01:40.515 3953 3967 D cnfgtest: EGL Extensions: "EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable "
07-25 10:01:40.515 3953 3967 D cnfgtest: Config: 0
07-25 10:01:40.515 3953 3967 D cnfgtest: Creating Context
07-25 10:01:40.515 3953 3967 D cnfgtest: Error: eglCreateContext failed: 0x00003005
07-25 10:01:40.519 3953 3967 D cnfgtest: setEvent Rate: 0
07-25 10:01:40.529 3953 3967 D cnfgtest: WindowFocusChanged: 0xa05b5360 -- 1
07-25 10:01:40.570 1624 1645 I ActivityManager: Displayed org.yourorg.cnfgtest/android.app.NativeActivity: +127ms
07-25 10:01:40.613 3969 3969 F DEBUG : pid: 3953, tid: 3968, name: Thread-2 >>> org.yourorg.cnfgtest <<<
07-25 10:01:40.613 3969 3969 F DEBUG : #01 pc 00002a6a /data/app/org.yourorg.cnfgtest-1/lib/x86/libcnfgtest.so
07-25 10:01:40.628 1624 1645 I WindowManager: Destroying surface Surface(name=Application Error: org.yourorg.cnfgtest) called by com.android.server.wm.WindowStateAnimator.destroySurface:2016 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.destroyOrSaveSurface:2100 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementInner:429 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop:232 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement:180 com.android.server.wm.WindowManagerService$H.handleMessage:8086 android.os.Handler.dispatchMessage:102
07-25 10:01:40.759 1624 1645 I WindowManager: Destroying surface Surface(name=Starting org.yourorg.cnfgtest) called by com.android.server.wm.WindowStateAnimator.destroySurface:2016 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.destroyOrSaveSurface:2100 com.android.server.wm.AppWindowToken.destroySurfaces:363 com.android.server.wm.WindowStateAnimator.finishExit:565 com.android.server.wm.WindowStateAnimator.stepAnimationLocked:491 com.android.server.wm.WindowAnimator.updateWindowsLocked:303 com.android.server.wm.WindowAnimator.animateLocked:704
07-25 10:01:40.985 1624 1657 W InputDispatcher: channel '325df2f org.yourorg.cnfgtest/android.app.NativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
07-25 10:01:40.985 1624 1657 E InputDispatcher: channel '325df2f org.yourorg.cnfgtest/android.app.NativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
07-25 10:01:40.986 1624 3371 I WindowManager: WIN DEATH: Window{325df2f u0 org.yourorg.cnfgtest/android.app.NativeActivity}
07-25 10:01:40.986 1624 3371 W InputDispatcher: Attempted to unregister already unregistered input channel '325df2f org.yourorg.cnfgtest/android.app.NativeActivity (server)'
07-25 10:01:40.986 1624 3371 I WindowManager: Destroying surface Surface(name=org.yourorg.cnfgtest/android.app.NativeActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2016 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.removeLocked:1456 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2484 com.android.server.wm.WindowManagerService.removeWindowLocked:2442 com.android.server.wm.WindowState$DeathRecipient.binderDied:1787 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack>
07-25 10:01:40.987 1624 1982 I ActivityManager: Process org.yourorg.cnfgtest (pid 3953) has died
07-25 10:01:40.987 1624 1982 W ActivityManager: Force removing ActivityRecord{47c683f u0 org.yourorg.cnfgtest/android.app.NativeActivity t4}: app died, no saved state
Instacrashes.