Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load 'libmain.so', the application will terminate. #173

Closed
vMyth opened this issue Jul 6, 2020 · 30 comments
Closed

Failed to load 'libmain.so', the application will terminate. #173

vMyth opened this issue Jul 6, 2020 · 30 comments

Comments

@vMyth
Copy link

vMyth commented Jul 6, 2020

Getting this issue. Not using any AR features. The error is coming even if I build a Unity project with just one text element. Please help out!

@klepov
Copy link

klepov commented Jul 24, 2020

same problem. i tried on unity 2019.4.5f1 & 2019.3.5f1 and flutter 1.17.5 & 1.12.13 + hotfix.5
but always got "Failed to load 'libmain.so', the application will terminate"

@klepov
Copy link

klepov commented Jul 30, 2020

solved. make sure you have .so libraries. be attention when connecting aar to the project

@vMyth
Copy link
Author

vMyth commented Jul 30, 2020

Where is the .so file supposed to be?

@klepov
Copy link

klepov commented Jul 30, 2020

compile app via unity and cut the .so from /libs

@vMyth
Copy link
Author

vMyth commented Jul 30, 2020

where is it supposed to be kept?

@klepov
Copy link

klepov commented Jul 30, 2020

when building a project in a unity, the path is indicated where the apk will be located

@vMyth
Copy link
Author

vMyth commented Jul 30, 2020

Let me try and get back to you, thanks for the help.

@kings2000
Copy link

solved. make sure you have .so libraries. be attention when connecting aar to the project

Please can you explain better, am having same problem. Thanks.

@klmj3214
Copy link

facing the same issue, could you please explain more about it

@subjectdenied
Copy link

i don't think this is related to .so files missing, cause I see them in the release apk-file for the correct architecture (arm64-v8a)
also what is strange in my case is, that the library is searched at /lib/arm64/libmain.so when it really is located at /lib/arm64-v8a. using a Samsung s10e here, latest OTA-security-update

@subjectdenied
Copy link

@juicycleff any idea what could be the issue here? i analyzed the apk, it has all the libs

@BrawnDesign
Copy link

I am seeing the same issue:
ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(43)] java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/{MyBundleID}-h87UT_xKCV4ItZVlKmzJww==/base.apk"],nativeLibraryDirectories=[/data/app/{MyBundleID}-h87UT_xKCV4ItZVlKmzJww==/lib/x86, /data/app/com.{MyBundleID}-h87UT_xKCV4ItZVlKmzJww==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libmain.so"

If I look at the apk it is showing:
Screen Shot 2020-10-13 at 11 26 40 AM

I am still working thru this, but does anyone know how to tell the unity plugin to look in the arm64-v8a directory for the libmain.so? (or how to include libmain.so in the x86 directory I do have the recommended player settings selected with the exception of x86 as unity does not support it anymore)
Screen Shot 2020-10-13 at 11 38 26 AM

Thank you for any assistance.

@subjectdenied
Copy link

@ToddBrawn are you trying to run the app in the android emulator, cause this wont work out of the box afaik the default one is based on x86, maybe try to install an arm based emulator in android studio

@waheed11
Copy link

Same problem :
Failed to load 'libmain.so', the application will terminate.

I tried to cut .so files from apk/lib/arm64-v8a and past into Myproject/android/unityLibrary/libs

But this did not solve the problem

Any Help, please?

@BrawnDesign
Copy link

@subjectdenied Sorry for the delay, sidetracked with other work. Ok, I tried an arm based simulator, it is unusable on my MacBook Pro because of simulator performance. I sent it off to a friend that has an actual device and it appeared to work for him. Thanks!

So, @waheed11 I suggest a real android device if you have one. I think that solved my immediate problem at least, but will be an issue for testing.

@waheed11
Copy link

Thank you @ToddBrawn , I tried with a real device , it works for a few seconds and then crashed. below the out log:
##################################################
Installing build\app\outputs\flutter-apk\app.apk...
Waiting for SM G965F to report its views...
Debug service listening on ws://127.0.0.1:11013/69XaftZyc8A=/ws
Syncing files to device SM G965F...
D/InputMethodManager(25019): prepareNavigationBarInfo() DecorView@b0f5be1[MainActivity]
D/InputMethodManager(25019): getNavigationBarColor() -855310
V/InputMethodManager(25019): Starting input: tba=com.example.flutterunitydemo ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager(25019): startInputInner - Id : 0
I/InputMethodManager(25019): startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport(25019): Input channel destroyed: 'ClientS', fd=94
D/ViewRootImpl@4a4f163MainActivity: stopped(true) old=false
D/OpenGLRenderer(25019): makeCurrent EglSurface : 0x73550cb100 -> 0x0
D/SurfaceView(25019): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{b5ea619 V.E...... ........ 0,0-1440,2792} of ViewRootImpl@4a4f163[MainActivity]
D/SurfaceView(25019): surfaceDestroyed callback.size 1 #1 io.flutter.embedding.android.FlutterSurfaceView{b5ea619 V.E...... ........ 0,0-1440,2792}
I/mali_egl(25019): eglDestroySurface() in
I/mali_winsys(25019): delete_surface() [1440x2792] return
I/mali_egl(25019): eglDestroySurface() out
W/libEGL (25019): EGLNativeWindowType 0x72c93ec010 disconnect failed
D/SurfaceView(25019): remove() io.flutter.embedding.android.FlutterSurfaceView{b5ea619 V.E...... ........ 0,0-1440,2792} Surface(name=SurfaceView - com.example.flutterunitydemo/com.example.flutterunitydemo.MainActivity@b5ea619@0)/@0x195ff51
I/Choreographer(25019): Skipped 250 frames! The application may be doing too much work on its main thread.
E/ViewRootImpl@4a4f163MainActivity: Surface is not valid.
D/ViewRootImpl@4a4f163MainActivity: MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager(25019): prepareNavigationBarInfo() DecorView@b0f5be1[MainActivity]
D/InputMethodManager(25019): getNavigationBarColor() -855310
D/InputMethodManager(25019): prepareNavigationBarInfo() DecorView@b0f5be1[MainActivity]
D/InputMethodManager(25019): getNavigationBarColor() -855310
V/InputMethodManager(25019): Starting input: tba=com.example.flutterunitydemo ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager(25019): startInputInner - Id : 0
I/InputMethodManager(25019): startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport(25019): Input channel destroyed: 'ClientS', fd=103
D/ViewRootImpl@4a4f163MainActivity: stopped(false) old=true
D/SurfaceView(25019): windowStopped(false) true io.flutter.embedding.android.FlutterSurfaceView{b5ea619 V.E...... .......D 0,0-1440,2792} of ViewRootImpl@4a4f163[MainActivity]
D/ViewRootImpl@4a4f163MainActivity: stopped(false) old=false
D/ViewRootImpl@4a4f163MainActivity: MSG_RESIZED_REPORT: frame=(0,0,1440,2960) ci=(0,84,0,168) vi=(0,84,0,168) or=1
D/ViewRootImpl@4a4f163MainActivity: MSG_WINDOW_FOCUS_CHANGED 1 1
D/SurfaceView(25019): onWindowVisibilityChanged(0) true io.flutter.embedding.android.FlutterSurfaceView{b5ea619 V.E...... .......D 0,0-1440,2792} of ViewRootImpl@4a4f163[MainActivity]
D/OpenGLRenderer(25019): destroyEglSurface : 0x73550cb100
I/mali_egl(25019): eglDestroySurface() in
I/mali_winsys(25019): delete_surface() [1440x2960] return
I/mali_egl(25019): eglDestroySurface() out
W/libEGL (25019): EGLNativeWindowType 0x73e3b01490 disconnect failed
D/OpenGLRenderer(25019): ~ReliableSurface : 0x73e3b01480
D/ViewRootImpl@4a4f163MainActivity: Relayout returned: old=(0,0,1440,2960) new=(0,0,1440,2960) req=(1440,2960)0 dur=9 res=0x3 s={true 493002600448} ch=true
D/OpenGLRenderer(25019): createReliableSurface : 0x73e3b01480(0x72c93eb000)
I/mali_winsys(25019): new_window_surface() [1440x2960] return: 0x3000
D/SurfaceView(25019): surfaceCreated 1 #8 io.flutter.embedding.android.FlutterSurfaceView{b5ea619 V.E...... .......D 0,0-1440,2792}
I/mali_winsys(25019): new_window_surface() [1440x2792] return: 0x3000
D/SurfaceView(25019): surfaceChanged (1440,2792) 1 #8 io.flutter.embedding.android.FlutterSurfaceView{b5ea619 V.E...... .......D 0,0-1440,2792}
D/OpenGLRenderer(25019): makeCurrent EglSurface : 0x0 -> 0x73550cb100
D/ViewRootImpl@4a4f163MainActivity: ViewPostIme pointer 0
D/ViewRootImpl@4a4f163MainActivity: ViewPostIme pointer 1
D/Dialog (25019): mIsSamsungBasicInteraction = false
D/Dialog (25019): mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
W/Gralloc3(25019): allocator 3.x is not supported
D/SurfaceView(25019): onWindowVisibilityChanged(0) true android.view.SurfaceView{2c84789 VFE...... ......I. 0,0-0,0} of ViewRootImpl@4a4f163[MainActivity]
D/SurfaceView(25019): onWindowVisibilityChanged(8) false android.view.SurfaceView{2c84789 VFE...... ......I. 0,0-0,0} of ViewRootImpl@4a4f163[MainActivity]
D/PhoneWindow(25019): forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4268 com.android.internal.policy.DecorView.updateColorViews:1513 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3246 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2474
I/MultiWindowDecorSupport(25019): updateCaptionType >> DecorView@c64d345[], isFloating: false, isApplication: false, hasWindowDecorCaption: false, hasWindowControllerCallback: false
D/MultiWindowDecorSupport(25019): setCaptionType = 0, DecorView = DecorView@c64d345[]
D/ViewRootImpl@2490da7MainActivity: setView = com.android.internal.policy.DecorView@c64d345 TM=true MM=false
I/Choreographer(25019): Skipped 65 frames! The application may be doing too much work on its main thread.
I/flutter (25019): *********************************************
I/flutter (25019): ** flutter unity controller setup complete **
I/flutter (25019): *********************************************
D/ViewRootImpl@4a4f163MainActivity: Relayout returned: old=(0,0,1440,2960) new=(0,0,1440,2960) req=(1440,2960)0 dur=11 res=0x1 s={true 493002600448} ch=false
V/InputMethodManager(25019): Not IME target window, ignoring
D/SurfaceView(25019): onWindowVisibilityChanged(0) true android.view.SurfaceView{2c84789 VFE...... ......I. 0,0-0,0} of ViewRootImpl@2490da7[MainActivity]
D/ViewRootImpl@2490da7MainActivity: Relayout returned: old=(0,0,1384,2456) new=(0,0,1384,2456) req=(1384,2456)0 dur=13 res=0x7 s={true 492852408320} ch=true
D/OpenGLRenderer(25019): createReliableSurface : 0x72c93ef6c0(0x72c04af000)
I/mali_winsys(25019): new_window_surface() [1384x2456] return: 0x3000
D/SurfaceView(25019): surfaceCreated 1 #8 android.view.SurfaceView{2c84789 VFE...... ......ID 0,0-1384,2456}
D/SurfaceView(25019): surfaceChanged (1384,2456) 1 #8 android.view.SurfaceView{2c84789 VFE...... ......ID 0,0-1384,2456}
E/DecorView(25019): mWindow.mActivityCurrentConfig is null
D/OpenGLRenderer(25019): makeCurrent EglSurface : 0x73550cb100 -> 0x72c2f57300
D/InputMethodManager(25019): prepareNavigationBarInfo() DecorView@b0f5be1[MainActivity]
D/InputMethodManager(25019): getNavigationBarColor() -855310
V/InputMethodManager(25019): Starting input: tba=com.example.flutterunitydemo ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager(25019): startInputInner - Id : 0
I/InputMethodManager(25019): startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport(25019): Input channel destroyed: 'ClientS', fd=107
D/ViewRootImpl@2490da7MainActivity: Relayout returned: old=(0,0,1384,2456) new=(0,0,1384,2456) req=(1384,2456)0 dur=9 res=0x1 s={true 492852408320} ch=false
D/ViewRootImpl@2490da7MainActivity: MSG_RESIZED: frame=(0,0,1384,2456) ci=(0,0,0,0) vi=(0,0,0,0) or=1
W/lutterunitydem(25019): Accessing hidden method Ljava/lang/invoke/MethodHandles$Lookup;->(Ljava/lang/Class;I)V (greylist, reflection, allowed)
I/Unity (25019): SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 5, Memory = 5620mb
I/Unity (25019): SystemInfo ARM big.LITTLE configuration: 1 big (mask: 0x10), 4 little (mask: 0xf)
I/Unity (25019): ApplicationInfo com.example.flutterunitydemo version 1.0.0 build 1baa1d64-e657-4a51-8617-e259aab6ac9d
I/Unity (25019): Built from '2019.3/staging' branch, Version '2019.3.1f1 (89d6087839c2)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Enabled'
E/libprocessgroup(25019): set_timerslack_ns write failed: Operation not permitted
I/chatty (25019): uid=10412(com.example.flutterunitydemo) UnityMain identical 14 lines
E/libprocessgroup(25019): set_timerslack_ns write failed: Operation not permitted
E/Unity (25019): Unable to find OverrideUnityActivity
I/mali_winsys(25019): new_window_surface() [1384x2456] return: 0x3000
D/Unity (25019): GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_
D/Unity (25019): to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_sh
D/Unity (25019): ader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_EGL_image_array
D/ (25019): PlayerBase::PlayerBase()
D/ (25019): TrackPlayerBase::TrackPlayerBase()
I/libOpenSLES(25019): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
W/AudioTrack(25019): set(): notificationFrames=-21 clamped to the range -1 to -8
I/AudioTrack(25019): createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 1536
I/Unity (25019): XRGeneral Settings awakening...
I/Unity (25019): UnityEngine.XR.Management.XRGeneralSettings:Awake()
I/Unity (25019):
I/Unity (25019): (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
I/Unity (25019):
F/Unity-ARCore(25019): Could not access the activity.
E/Unity-ARCore(25019): Failed to register lifecycle provider, Input subsystem will be unavailable!
V/MediaRouter(25019): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
I/native (25019): arpresto_api.cc:133 ArPresto::ArPresto_setCameraTextureName
F/native (25019): arpresto_api.cc:136 Calling ArPresto_setCameraTextureName before ArPresto_initialize.
F/native (25019): terminating.
E/CRASH (25019): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/CRASH (25019): Version '2019.3.1f1 (89d6087839c2)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
E/CRASH (25019): Build fingerprint: 'samsung/star2ltexx/star2lte:10/QP1A.190711.020/G965FXXSBETH2:user/release-keys'
E/CRASH (25019): Revision: '26'
E/CRASH (25019): ABI: 'arm64'
E/CRASH (25019): Timestamp: 2020-10-22 22:04:11+0300
E/CRASH (25019): pid: 25019, tid: 25697, name: UnityMain >>> com.example.flutterunitydemo <<<
E/CRASH (25019): uid: 10412
E/CRASH (25019): signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
E/CRASH (25019): x0 0000000000000000 x1 0000000000006461 x2 0000000000000006 x3 00000072fb7ce220
E/CRASH (25019): x4 20676e696c6c6143 x5 20676e696c6c6143 x6 20676e696c6c6143 x7 6f74736572507241
E/CRASH (25019): x8 00000000000000f0 x9 00000073dee6b5e0 x10 0000000000000000 x11 0000000000000001
E/CRASH (25019): x12 00000072c2e4020c x13 657a696c61697469 x14 0000000000000001 x15 0000241ed84e55f6
E/CRASH (25019): x16 00000073def398c0 x17 00000073def16880 x18 000000004835ac92 x19 00000000000000ac
E/CRASH (25019): x20 00000000000061bb x21 00000000000000b2 x22 0000000000006461 x23 00000000ffffffff
E/CRASH (25019): x24 00000072fb7d0020 x25 00000072fb7ce450 x26 00000072eef44d90 x27 0000000000000001
E/CRASH (25019): x28 00000072fb7cea70 x29 00000072fb7ce2d0
E/CRASH (25019): sp 00000072fb7ce200 lr 00000073deeca330 pc 00000073deeca360
E/CRASH (25019):
E/CRASH (25019): backtrace:
E/CRASH (25019): #00 pc 0000000000083360 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) (BuildId: 13817077d0d892b63e2f982cf91d02fa)
E/CRASH (25019): #1 pc 00000000000158b4 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/CRASH (25019): #2 pc 00000000000152a4 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/CRASH (25019): #3 pc 00000000000155f4 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/CRASH (25019): #4 pc 0000000000015944 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/CRASH (25019): #5 pc 000000000000fa24 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (ArPresto_setEnabled) (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/CRASH (25019): #6 pc 0000000000023708 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libUnityARCore.so (UnityARCore_session_resume+16) (BuildId: 7344a1e1ee355cd65884818e01881015f7d6db2a)
E/CRASH (25019): #7 pc 0000000000d0bd38 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/CRASH (25019): #8 pc 0000000000d038f0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/CRASH (25019): #9 pc 0000000000d09510 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/CRASH (25019): #10 pc 0000000000d472e0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/CRASH (25019): #11 pc 00000000004514e8 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/CRASH (25019): #12 pc 00000000004ec34c /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/CRASH (25019): #13 pc 0000000000278948 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #14 pc 0000000000284e64 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #15 pc 00000000001f2aac /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #16 pc 00000000001f28fc /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #17 pc 000000000012b1cc /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #18 pc 00000000001ff30c /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #19 pc 00000000002e7ee0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #20 pc 00000000002fa2d0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/CRASH (25019): #21 pc 0000000000140350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #22 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #23 pc 00000000001460ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #24 pc 00000000002e36d0 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #25 pc 00000000002de75c /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #26 pc 00000000005a46c8 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+400) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #27 pc 0000000000131914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #28 pc 00000000005a51d0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #29 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #30 pc 00000000005a3e2c /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #31 pc 0000000000131a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #32 pc 00000000005a2640 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #33 pc 0000000000131814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #34 pc 00000000005a51d0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #35 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #36 pc 00000000002b4000 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16017486636107417700)+240) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #37 pc 00000000005937c8 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #38 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #39 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #40 pc 00000000001460ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #41 pc 00000000004b25b8 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #42 pc 00000000004b3668 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #43 pc 00000000004f4190 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/CRASH (25019): #44 pc 00000000000e3b24 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 13817077d0d892b63e2f982cf91d02fa)
E/CRASH (25019): #45 pc 0000000000085330 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 13817077d0d892b63e2f982cf91d02fa)
E/CRASH (25019): Tombstone written to: /storage/emulated/0/Android/data/com.example.flutterunitydemo/files/tombstone_00
E/AndroidRuntime(25019): FATAL EXCEPTION: UnityMain
E/AndroidRuntime(25019): Process: com.example.flutterunitydemo, PID: 25019
E/AndroidRuntime(25019): java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/AndroidRuntime(25019): Version '2019.3.1f1 (89d6087839c2)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
E/AndroidRuntime(25019): Build fingerprint: 'samsung/star2ltexx/star2lte:10/QP1A.190711.020/G965FXXSBETH2:user/release-keys'
E/AndroidRuntime(25019): Revision: '26'
E/AndroidRuntime(25019): ABI: 'arm64'
E/AndroidRuntime(25019): Timestamp: 2020-10-22 22:04:11+0300
E/AndroidRuntime(25019): pid: 25019, tid: 25697, name: UnityMain >>> com.example.flutterunitydemo <<<
E/AndroidRuntime(25019): uid: 10412
E/AndroidRuntime(25019): signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
E/AndroidRuntime(25019): x0 0000000000000000 x1 0000000000006461 x2 0000000000000006 x3 00000072fb7ce220
E/AndroidRuntime(25019): x4 20676e696c6c6143 x5 20676e696c6c6143 x6 20676e696c6c6143 x7 6f74736572507241
E/AndroidRuntime(25019): x8 00000000000000f0 x9 00000073dee6b5e0 x10 0000000000000000 x11 0000000000000001
E/AndroidRuntime(25019): x12 00000072c2e4020c x13 657a696c61697469 x14 0000000000000001 x15 0000241ed84e55f6
E/AndroidRuntime(25019): x16 00000073def398c0 x17 00000073def16880 x18 000000004835ac92 x19 00000000000000ac
E/AndroidRuntime(25019): x20 00000000000061bb x21 00000000000000b2 x22 0000000000006461 x23 00000000ffffffff
E/AndroidRuntime(25019): x24 00000072fb7d0020 x25 00000072fb7ce450 x26 00000072eef44d90 x27 0000000000000001
E/AndroidRuntime(25019): x28 00000072fb7cea70 x29 00000072fb7ce2d0
E/AndroidRuntime(25019): sp 00000072fb7ce200 lr 00000073deeca330 pc 00000073deeca360
E/AndroidRuntime(25019):
E/AndroidRuntime(25019): backtrace:
E/AndroidRuntime(25019): #00 pc 0000000000083360 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) (BuildId: 13817077d0d892b63e2f982cf91d02fa)
E/AndroidRuntime(25019): #1 pc 00000000000158b4 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/AndroidRuntime(25019): #2 pc 00000000000152a4 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/AndroidRuntime(25019): #3 pc 00000000000155f4 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/AndroidRuntime(25019): #4 pc 0000000000015944 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/AndroidRuntime(25019): #5 pc 000000000000fa24 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libarpresto_api.so (ArPresto_setEnabled) (BuildId: cbde6141aeb2e1829ff9682b9d7759cb)
E/AndroidRuntime(25019): #6 pc 0000000000023708 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libUnityARCore.so (UnityARCore_session_resume+16) (BuildId: 7344a1e1ee355cd65884818e01881015f7d6db2a)
E/AndroidRuntime(25019): #7 pc 0000000000d0bd38 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/AndroidRuntime(25019): #8 pc 0000000000d038f0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/AndroidRuntime(25019): #9 pc 0000000000d09510 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/AndroidRuntime(25019): #10 pc 0000000000d472e0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/AndroidRuntime(25019): #11 pc 00000000004514e8 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/AndroidRuntime(25019): #12 pc 00000000004ec34c /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libil2cpp.so (BuildId: f3c5854205e0ca883cb4c8c80bd4a2394d5069fa)
E/AndroidRuntime(25019): #13 pc 0000000000278948 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #14 pc 0000000000284e64 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #15 pc 00000000001f2aac /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #16 pc 00000000001f28fc /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #17 pc 000000000012b1cc /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #18 pc 00000000001ff30c /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #19 pc 00000000002e7ee0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #20 pc 00000000002fa2d0 /data/app/com.example.flutterunitydemo-UkrRppQKAUMQ0oeGCs9tHw==/lib/arm64/libunity.so (BuildId: 2ce7af82fabb0a9d225eddda561a6398e4d44103)
E/AndroidRuntime(25019): #21 pc 0000000000140350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #22 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #23 pc 00000000001460ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #24 pc 00000000002e36d0 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #25 pc 00000000002de75c /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #26 pc 00000000005a46c8 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+400) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #27 pc 0000000000131914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #28 pc 00000000005a51d0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #29 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #30 pc 00000000005a3e2c /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #31 pc 0000000000131a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #32 pc 00000000005a2640 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #33 pc 0000000000131814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #34 pc 00000000005a51d0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #35 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #36 pc 00000000002b4000 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16017486636107417700)+240) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #37 pc 00000000005937c8 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #38 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #39 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #40 pc 00000000001460ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #41 pc 00000000004b25b8 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #42 pc 00000000004b3668 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #43 pc 00000000004f4190 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 1ddf27eb09a185dc433de6d2310d0c2d)
E/AndroidRuntime(25019): #44 pc 00000000000e3b24 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 13817077d0d892b63e2f982cf91d02fa)
E/AndroidRuntime(25019): #45 pc 0000000000085330 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 13817077d0d892b63e2f982cf91d02fa)
E/AndroidRuntime(25019):
E/AndroidRuntime(25019): at libc.abort(abort:176)
E/AndroidRuntime(25019): at libarpresto_api.0x158b4(Native Method)
E/AndroidRuntime(25019): at libarpresto_api.0x152a4(Native Method)
E/AndroidRuntime(25019): at libarpresto_api.0x155f4(Native Method)
E/AndroidRuntime(25019): at libarpresto_api.0x15944(Native Method)
E/AndroidRuntime(25019): at libarpresto_api.ArPresto_setEnabled(ArPresto_setEnabled:0)
E/AndroidRuntime(25019): at libUnityARCore.UnityARCore_session_resume(UnityARCore_session_resume:16)
E/AndroidRuntime(25019): at libil2cpp.0xd0bd38(Native Method)
E/AndroidRuntime(25019): at libil2cpp.0xd038f0(Native Method)
E/AndroidRuntime(25019): at libil2cpp.0xd09510(Native Method)
E/AndroidRuntime(25019): at libil2cpp.0xd472e0(Native Method)
E/AndroidRuntime(25019): at libil2cpp.0x4514e8(Native Method)
E/AndroidRuntime(25019): at libil2cpp.0x4ec34c(Native Method)
E/AndroidRuntime(25019): at libunity.0x278948(Native Method)
E/AndroidRuntime(25019): at libunity.0x284e64(Native Method)
E/AndroidRuntime(25019): at libunity.0x1f2aac(Native Method)
E/AndroidRuntime(25019): at libunity.0x1f28fc(Native Method)
E/AndroidRuntime(25019): at libunity.0x12b1cc(Native Method)
E/AndroidRuntime(25019): at libunity.0x1ff30c(Native Method)
E/AndroidRuntime(25019): at libunity.0x2e7ee0(Native Method)
E/AndroidRuntime(25019): at libunity.0x2fa2d0(Native Method)
E/AndroidRuntime(25019): at libart.art_quick_generic_jni_trampoline(art_quick_generic_jni_trampoline:144)
E/AndroidRuntime(25019): at libart.art_quick_invoke_stub(art_quick_invoke_stub:548)
E/AndroidRuntime(25019): at libart.art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)(Invoke:244)
E/AndroidRuntime(25019): at libart.art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)(ArtInterpreterToCompiledCodeBridge:384)
E/AndroidRuntime(25019): at libart.bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)(DoCall<false, false>:900)
E/AndroidRuntime(25019): at libart.MterpInvokeDirect(MterpInvokeDirect:400)
E/AndroidRuntime(25019): at libart.mterp_op_invoke_direct(mterp_op_invoke_direct:20)
E/AndroidRuntime(25019): at libart.MterpInvokeStatic(MterpInvokeStatic:1136)
E/AndroidRuntime(25019): at libart.mterp_op_invoke_static(mterp_op_invoke_static:20)
E/AndroidRuntime(25019): at libart.MterpInvokeInterface(MterpInvokeInterface:1740)
E/AndroidRuntime(25019): at libart.mterp_op_invoke_interface(mterp_op_invoke_interface:20)
I/Process (25019): Sending signal. PID: 25019 SIG: 9
###########################################################

@waheed11
Copy link

I want to share with you also my project structure in Andriod Studio after I added the .so files to it.
I changed the structure several times and every time I get "Failed to load 'libmain.so'" message.
The last project structure is attached.
Please let me know if there is anything I need to change.
Screenshot 2020-10-23 08 05 56

@vMyth
Copy link
Author

vMyth commented Oct 23, 2020

Has this issue been solved for anyone yet?

@subjectdenied
Copy link

subjectdenied commented Nov 3, 2020

i think this is caused by the NDK version used when building the flutter app, as it seems that unity doesnt even support anything higher than NDK 19.x. however i didn't look into this really

@nominator
Copy link

@waheed11 I have exactly the same issue as yours. The stacktrace that you posted above is same as mine. Did you find any solution for this?

@We2Am-BaSsem
Copy link

I have the a similar issue. Is there a solution?

@berkekesikbas
Copy link

I have same issue to, anyone solution or advice ?

@sarimmehdi
Copy link

Was this issue solved?

@berkekesikbas
Copy link

Was this issue solved?

Yes, if I do not remember wrong. I took the .so files from unity and replaced them with the ones in the project.

@OGmetamonkey
Copy link

Upgrading to Unity 2020.3.24f1 fixed this issue for me shrug

@chadlyalan
Copy link

I'm having this issue using Unity 2021.3.3f1.

E/Unity   ( 6226): Failed to load 'libmain.so'
E/Unity   ( 6226): 
E/Unity   ( 6226): java.lang.UnsatisfiedLinkError: dlopen failed: library "libmain.so" not found
E/Unity   ( 6226): Your hardware does not support this application.

@jamesncl
Copy link

jamesncl commented Jun 7, 2022

First thing to try is to use the latest version of the package and the currently supported version of Unity (at the time of writing, Unity 2022.1.0 but check the readme). Also, be aware that building to the simulator isn't supported in case you are trying to do that.

Can anyone who has this issue please report what kind of device you encounter the error on? Also, if you have a different device available, please try it and see if you get the same error. I suspect this may be a device-specific thing, and maybe we can narrow the problem down (iPhone or Android, what make and model)

@OGmetamonkey
Copy link

I'm having this issue using Unity 2021.3.3f1.


E/Unity   ( 6226): Failed to load 'libmain.so'

E/Unity   ( 6226): 

E/Unity   ( 6226): java.lang.UnsatisfiedLinkError: dlopen failed: library "libmain.so" not found

E/Unity   ( 6226): Your hardware does not support this application.

Try Unity 2020.3.24f1

@chadlyalan
Copy link

First thing to try is to use the latest version of the package and the currently supported version of Unity (at the time of writing, Unity 2022.1.0 but check the readme). Also, be aware that building to the simulator isn't supported in case you are trying to do that.

Can anyone who has this issue please report what kind of device you encounter the error on? Also, if you have a different device available, please try it and see if you get the same error. I suspect this may be a device-specific thing, and maybe we can narrow the problem down (iPhone or Android, what make and model)

I ended up finding out that if I enabled x86-64 in the player settings that it worked on the emulator as well as the physical device.

@dawiddszewczyk
Copy link
Collaborator

dawiddszewczyk commented Jul 16, 2022

This issue show when you try to run App with Flutter Unity Package on Virtual Device to run each project with this package you haven't use Physical device.
Like @jamesncl said before ensure that you use the latest version of the package and the currently supported version of Unity.

If this trouble still exist pleas reopen issue or create new with template which be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests