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

Getting error on version 2.0.0 #209

Closed
bahadryalcn opened this issue Sep 19, 2020 · 0 comments · Fixed by #245
Closed

Getting error on version 2.0.0 #209

bahadryalcn opened this issue Sep 19, 2020 · 0 comments · Fixed by #245

Comments

@bahadryalcn
Copy link

bahadryalcn commented Sep 19, 2020

Hello i have been trying to use version 0.1.6.7 but I could not success to run it on emulator. Now I run it on emulator with 2.0.0 but when i click something , this error is occur. And If you can update installation guide i will be appreciate. It seems to complicated. I will be waiting your answers. Thanks a lot for this great job.

Flutter Version: Flutter 1.20.4
Dart Version : Dart 2.9.2
Unity Version: Unity 2019.4.3f1 (64-bit)

`Flutter run key commands.
r Hot reload.
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:63966/IhXthkAet9Q=/
E/Unity (14936): Failed to load 'libmain.so', the application will terminate.
E/flutter (14936): [ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(43)] java.lang.UnsatisfiedLinkError: dlopen failed: library "libmain.so" not found
E/flutter (14936): at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
E/flutter (14936): at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
E/flutter (14936): at java.lang.System.loadLibrary(System.java:1664)
E/flutter (14936): at com.unity3d.player.UnityPlayer.(Unknown Source:13)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.UnityUtils$1.run(UnityUtils.java:81)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.utils.ThreadUtils.runOnUiThread(ThreadUtils.java:19)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.UnityUtils.createPlayer(UnityUtils.java:77)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.FlutterUnityViewController.getUnityView(FlutterUnityViewController.java:295)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.FlutterUnityViewController.initView(FlutterUnityViewController.java:94)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.FlutterUnityViewController.(FlutterUnityViewController.java:90)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.FlutterUnityViewBuilder.build(FlutterUnityViewBuilder.java:28)
E/flutter (14936): at com.xraph.plugins.flutterunitywidget.FlutterUnityViewFactory.create(FlutterUnityViewFactory.java:66)
E/flutter (14936): at io.flutter.plugin.platform.SingleViewPresentation.onCreate(SingleViewPresentation.java:186)
E/flutter (14936): at android.app.Dialog.dispatchOnCreate(Dialog.java:419)
E/flutter (14936): at android.app.Dialog.show(Dialog.java:313)
E/flutter (14936): at android.app.Presentation.show(Presentation.java:257)
E/flutter (14936): at io.flutter.plugin.platform.VirtualDisplayController.(VirtualDisplayController.java:95)
E/flutter (14936): at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:48)
E/flutter (14936): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:170)
E/flutter (14936): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/flutter (14936): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/flutter (14936): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230)
E/flutter (14936): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter (14936): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/flutter (14936): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (14936): at android.os.MessageQueue.next(MessageQueue.java:335)
E/flutter (14936): at android.os.Looper.loop(Looper.java:183)
E/flutter (14936): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter (14936): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (14936): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter (14936): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (14936):
F/flutter (14936): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env).
F/libc (14936): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 14936 (lutterunitydemo), pid 14936 (lutterunitydemo)


Build fingerprint: 'google/sdk_gphone_x86/generic_x86_arm:11/RSR1.200819.001.A1/6823625:user/release-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2020-09-19 18:38:48+0000
pid: 14936, tid: 14936, name: lutterunitydemo >>> com.example.flutterunitydemo <<<
uid: 10153
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env).
'
eax 00000000 ebx 00003a58 ecx 00003a58 edx 00000006
edi f4b4580e esi ffe68e10
ebp f7b55b90 esp ffe68db8 eip f7b55b99
backtrace:
#00 pc 00000b99 [vdso] (__kernel_vsyscall+9)
#1 pc 0005ad68 /apex/com.android.runtime/lib/bionic/libc.so (syscall+40) (BuildId: a690ed60a8b6a282b41dd991389b5fdb)
#2 pc 00076511 /apex/com.android.runtime/lib/bionic/libc.so (abort+209) (BuildId: a690ed60a8b6a282b41dd991389b5fdb)
#3 pc 0117efe2 /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#4 pc 0116b0c7 /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#5 pc 011661ee /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#6 pc 011d5dc3 /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#7 pc 0117d29d /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#8 pc 0117fddb /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#9 pc 0117fd1e /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#10 pc 0118617e /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#11 pc 011861ac /data/app/~~4rUqxsNSu7bBjoyKN10tew==/com.example.flutterunitydemo-UMc3G2f7PVXbbd7sB86epg==/lib/x86/libflutter.so (BuildId: ab1cd743c331d656739b38947d269b708c594cb6)
#12 pc 00019337 /system/lib/libutils.so (android::SimpleLooperCallback::handleEvent(int, int, void*)+39) (BuildId: ab4be013cda31e8c45d48aa23a89d0f8)
#13 pc 0001a367 /system/lib/libutils.so (android::Looper::pollInner(int)+1127) (BuildId: ab4be013cda31e8c45d48aa23a89d0f8)
#14 pc 00019e96 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+118) (BuildId: ab4be013cda31e8c45d48aa23a89d0f8)
#15 pc 0010ef8b /system/lib/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long long, int)+59) (BuildId: 588f2cd5873ff4273bb25b25edb82606)
#16 pc 0021be48 /system/framework/x86/boot-framework.oat (art_jni_trampoline+136) (BuildId: cd049c9ca9f46317ecd7d512d6b856181c4d6d60)
#17 pc 0013b922 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+338) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#18 pc 001d0381 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+241) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#19 pc 003866e1 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+385) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#20 pc 0037aa1e /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1070) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#21 pc 007a4159 /apex/com.android.art/lib/libart.so (MterpInvokeDirect+633) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#22 pc 001358a1 /apex/com.android.art/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#23 pc 003975b2 /system/framework/framework.jar (offset 0x92b000) (android.os.MessageQueue.next+34)
#24 pc 007a14de /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+1806) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#25 pc 001357a1 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#26 pc 00396968 /system/framework/framework.jar (offset 0x92b000) (android.os.Looper.loop+156)
#27 pc 0036fae2 /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12175385690420896393)+370) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#28 pc 00379bff /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+207) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#29 pc 0037b495 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+2117) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#30 pc 0018e613 /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+81395) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#31 pc 00142de2 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+18) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#32 pc 001a1698 /system/framework/framework.jar (android.app.ActivityThread.main)
#33 pc 0036fa6e /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12175385690420896393)+254) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#34 pc 00379ae0 /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+176) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#35 pc 0078b305 /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+1061) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#36 pc 0014220d /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#37 pc 0013baf2 /apex/com.android.art/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#38 pc 001d0392 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+258) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#39 pc 0062ffe8 /apex/com.android.art/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1464) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#40 pc 00588680 /apex/com.android.art/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+80) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#41 pc 0008a778 /apex/com.android.art/javalib/x86/boot.oat (art_jni_trampoline+168) (BuildId: b386118502376442aa402e8d28c29e95a6eb8614)
#42 pc 0013b922 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+338) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#43 pc 001d0381 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+241) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#44 pc 003866e1 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+385) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#45 pc 0037aa1e /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1070) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#46 pc 007a1197 /apex/com.android.art/lib/libart.so (MterpInvokeVirtual+967) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#47 pc 001357a1 /apex/com.android.art/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#48 pc 004492d2 /system/framework/framework.jar (offset 0x125d000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
#49 pc 0036fae2 /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.12175385690420896393)+370) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#50 pc 00379ae0 /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+176) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#51 pc 0078b305 /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+1061) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#52 pc 0014220d /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#53 pc 00893696 /system/framework/x86/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2102) (BuildId: cd049c9ca9f46317ecd7d512d6b856181c4d6d60)
#54 pc 0013baf2 /apex/com.android.art/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#55 pc 001d0392 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+258) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#56 pc 0062e633 /apex/com.android.art/lib/libart.so (art::JValue art::InvokeWithVarArgsart::ArtMethod*(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, char*)+579) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#57 pc 0062eb05 /apex/com.android.art/lib/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, char*)+85) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#58 pc 004ce62f /apex/com.android.art/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+735) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#59 pc 003f8a8e /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+2846)
(BuildId: 123e60096a46399e6f56e4eb5c70759a)
#60 pc 003e60b9 /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+73) (BuildId: 123e60096a46399e6f56e4eb5c70759a)
#61 pc 0008f90e /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+62) (BuildId: 588f2cd5873ff4273bb25b25edb82606)
#62 pc 00098c8e /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+910) (BuildId: 588f2cd5873ff4273bb25b25edb82606)
#63 pc 00003804 /system/bin/app_process32 (main+1588) (BuildId: c5eedbfb6130af84c3db8e121fb1202e)
#64 pc 000522e3 /apex/com.android.runtime/lib/bionic/libc.so (__libc_init+115) (BuildId: a690ed60a8b6a282b41dd991389b5fdb)
Lost connection to device.`

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

Successfully merging a pull request may close this issue.

1 participant