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

Flutter integrations throws exception #4

Closed
DanieleFedeli opened this issue Jul 5, 2021 · 2 comments
Closed

Flutter integrations throws exception #4

DanieleFedeli opened this issue Jul 5, 2021 · 2 comments

Comments

@DanieleFedeli
Copy link

DanieleFedeli commented Jul 5, 2021

Hello everyone,
I'm trying to integrate the empatica sdk via flutter. I can build the debug app but as soon as I try to compile the release one, the app crashes.

This is the error I got:

**F/e.firmenich_ap(14193): thread.cc:2551] Throwing new exception 'no non-static method "Lc/b/a/a;.didReceiveGSR(FD)V"' with unexpected pending exception: java.lang.NoSuchMethodError: no non-static method "Lc/b/a/a;.didReceiveBVP(FD)V"**
F/e.firmenich_ap(14193): thread.cc:2551]   at void com.empatica.empalink.EmpaLinkCWrapper.init(com.empatica.empalink.delegate.EmpaDataDelegate, com.empatica.empalink.EmpaDeviceManager) (:-2)
F/e.firmenich_ap(14193): thread.cc:2551]   at void com.empatica.empalink.EmpaLinkBLE.i(android.content.Context, com.empatica.empalink.EmpaDeviceManager) (:-1)
F/e.firmenich_ap(14193): thread.cc:2551]   at void com.empatica.empalink.EmpaDeviceManager$e.onServiceConnected(android.content.ComponentName, android.os.IBinder) (:-1)
F/e.firmenich_ap(14193): thread.cc:2551]   at void android.app.LoadedApk$ServiceDispatcher.doConnected(android.content.ComponentName, android.os.IBinder, boolean) (LoadedApk.java:2123)
F/e.firmenich_ap(14193): thread.cc:2551]   at void android.app.LoadedApk$ServiceDispatcher$RunConnection.run() (LoadedApk.java:2155)
F/e.firmenich_ap(14193): thread.cc:2551]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:900)
F/e.firmenich_ap(14193): thread.cc:2551]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:103)
F/e.firmenich_ap(14193): thread.cc:2551]   at void android.os.Looper.loop() (Looper.java:219)
F/e.firmenich_ap(14193): thread.cc:2551]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:8393)
F/e.firmenich_ap(14193): thread.cc:2551]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
F/e.firmenich_ap(14193): thread.cc:2551]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:513)
F/e.firmenich_ap(14193): thread.cc:2551]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1055)
F/e.firmenich_ap(14193): thread.cc:2551] 
F/e.firmenich_ap(14193): runtime.cc:663] Runtime aborting...
F/e.firmenich_ap(14193): runtime.cc:663] All threads:
F/e.firmenich_ap(14193): runtime.cc:663] DALVIK THREADS (28):
F/e.firmenich_ap(14193): runtime.cc:663] "main" prio=10 tid=1 Runnable
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=0 dsCount=0 flags=0 obj=0x749a4740 self=0x7b8dc10800
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14193 nice=-10 cgrp=default sched=1073741825/2 handle=0x7c14b9f0d0
F/e.firmenich_ap(14193): runtime.cc:663]   | state=R schedstat=( 118128655 37946877 388 ) utm=7 stm=4 core=7 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7fec40d000-0x7fec40f000 stackSize=8192KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes= "abort lock" "mutator lock"(shared held)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000041ea9c  /apex/com.android.runtime/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000051a520  /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+508)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 0000000000534e60  /apex/com.android.runtime/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+820)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 000000000052de68  /apex/com.android.runtime/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+456)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 000000000052d0bc  /apex/com.android.runtime/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool)+484)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 00000000004d83f4  /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+1780)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #06 pc 000000000000c600  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+684)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #07 pc 00000000005209e4  /apex/com.android.runtime/lib64/libart.so (art::Thread::AssertNoPendingExceptionForNewException(char const*) const+1200)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #08 pc 0000000000524b5c  /apex/com.android.runtime/lib64/libart.so (art::Thread::ThrowNewExceptionF(char const*, char const*, ...)+176)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #09 pc 00000000003eaea0  /apex/com.android.runtime/lib64/libart.so (art::FindMethodID(art::ScopedObjectAccess&, _jclass*, char const*, char const*, bool)+400)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #10 pc 00000000003964bc  /apex/com.android.runtime/lib64/libart.so (art::JNI::GetMethodID(_JNIEnv*, _jclass*, char const*, char const*)+636)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #11 pc 00000000000070a4  /data/app/com.example.firmenich_app-aZvXhBnOQMvKy5MPgjEepg==/lib/arm64/libempac.so (Java_com_empatica_empalink_EmpaLinkCWrapper_init+212)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.empatica.empalink.EmpaLinkCWrapper.init(Native method)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.empatica.empalink.EmpaLinkBLE.i(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.empatica.empalink.EmpaDeviceManager$e.onServiceConnected(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2123)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2155)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.Handler.handleCallback(Handler.java:900)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.Handler.dispatchMessage(Handler.java:103)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.Looper.loop(Looper.java:219)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.app.ActivityThread.main(ActivityThread.java:8393)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.reflect.Method.invoke(Native method)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "AsyncTask #1" prio=4 tid=28 Runnable
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=0 dsCount=0 flags=0 obj=0x162dc660 self=0x7affd38000
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14387 nice=10 cgrp=default sched=0/0 handle=0x7aef8fbd50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=R schedstat=( 2771876 12497915 50 ) utm=0 stm=0 core=5 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7aef7f9000-0x7aef7fb000 stackSize=1039KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes= "mutator lock"(shared held)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000041ea9c  /apex/com.android.runtime/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000051a520  /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+508)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 0000000000534e60  /apex/com.android.runtime/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+820)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 000000000051b22c  /apex/com.android.runtime/lib64/libart.so (art::Thread::RunCheckpointFunction()+176)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 00000000005b10dc  /apex/com.android.runtime/lib64/libart.so (artTestSuspendFromCode+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 000000000014ddbc  /apex/com.android.runtime/lib64/libart.so (art_quick_test_suspend+156)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.util.Collections$UnmodifiableMap$UnmodifiableEntrySet.iterator(Collections.java:1703)
F/e.firmenich_ap(14193): runtime.cc:663]   at c.e.a.d0.k.k.a(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at c.e.a.d0.k.h.o(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at c.e.a.d0.k.h.x(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at c.e.a.e.g(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at c.e.a.e$b.a(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at c.e.a.e.h(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at c.e.a.e.f(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.empatica.empalink.EmpaDeviceManager.t(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.empatica.empalink.EmpaDeviceManager.r(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.empatica.empalink.EmpaDeviceManager$k.a(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at com.empatica.empalink.EmpaDeviceManager$k.doInBackground(:-1)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.AsyncTask$3.call(AsyncTask.java:389)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:292)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Thread.run(Thread.java:929)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "Runtime worker thread 3" prio=5 tid=2 Native (still starting up)
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x0 self=0x7b81236000
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14209 nice=0 cgrp=default sched=0/0 handle=0x7c0e33fd40
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 399479 1195833 3 ) utm=0 stm=0 core=6 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7c0e331000-0x7c0e333000 stackSize=63KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14209/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 00000000005368b8  /apex/com.android.runtime/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+260)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 0000000000535c08  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Run()+80)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 000000000053570c  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 00000000000cf6f0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #06 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   (no managed stack frames)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "Signal Catcher" prio=5 tid=3 WaitingInMainSignalCatcherLoop
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x15d00020 self=0x7b8dd63400
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14210 nice=0 cgrp=default sched=0/0 handle=0x7b82346d50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 454166 1900000 2 ) utm=0 stm=0 core=1 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b82250000-0x7b82252000 stackSize=991KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14210/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 00000000000bafb8  /apex/com.android.runtime/lib64/bionic/libc.so (__rt_sigtimedwait+8)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000007cea4  /apex/com.android.runtime/lib64/bionic/libc.so (sigwait+128)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 00000000004f9e0c  /apex/com.android.runtime/lib64/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+392)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 00000000004f8b70  /apex/com.android.runtime/lib64/libart.so (art::SignalCatcher::Run(void*)+268)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 00000000000cf6f0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   (no managed stack frames)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "Runtime worker thread 1" prio=5 tid=4 Native (still starting up)
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x0 self=0x7b8124c800
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14207 nice=0 cgrp=default sched=0/0 handle=0x7c113d4d40
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 107812 4054167 2 ) utm=0 stm=0 core=1 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7c113c6000-0x7c113c8000 stackSize=63KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14207/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 00000000005368b8  /apex/com.android.runtime/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+260)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 0000000000535c08  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Run()+80)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 000000000053570c  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 00000000000cf6f0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #06 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   (no managed stack frames)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "Runtime worker thread 0" prio=5 tid=5 Native (still starting up)
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x0 self=0x7b8dd5b400
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14206 nice=0 cgrp=default sched=0/0 handle=0x7c1369cd40
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 123959 11371874 8 ) utm=0 stm=0 core=1 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7c1368e000-0x7c13690000 stackSize=63KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14206/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 00000000005368b8  /apex/com.android.runtime/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+260)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 0000000000535c08  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Run()+80)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 000000000053570c  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 00000000000cf6f0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #06 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   (no managed stack frames)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "ReferenceQueueDaemon" prio=5 tid=6 Waiting
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x12c7b4e8 self=0x7b76a8a800
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14220 nice=4 cgrp=default sched=0/0 handle=0x7b82140d50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 388021 6169792 3 ) utm=0 stm=0 core=6 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b8203e000-0x7b82040000 stackSize=1039KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14220/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 000000000041898c  /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+620)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 000000000041a3f0  /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+284)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Native method)
F/e.firmenich_ap(14193): runtime.cc:663]   - waiting on <0x05998548> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Object.java:442)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Object.java:568)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:215)
F/e.firmenich_ap(14193): runtime.cc:663]   - locked <0x05998548> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Thread.run(Thread.java:929)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "FinalizerWatchdogDaemon" prio=5 tid=7 Waiting
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x12c7b608 self=0x7b8dc77000
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14222 nice=4 cgrp=default sched=0/0 handle=0x7b81f2ed50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 96354 12900521 5 ) utm=0 stm=0 core=6 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b81e2c000-0x7b81e2e000 stackSize=1039KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14222/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 000000000041898c  /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+620)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 000000000041a3f0  /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+284)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Native method)
F/e.firmenich_ap(14193): runtime.cc:663]   - waiting on <0x06a9dfe1> (a java.lang.Daemons$FinalizerWatchdogDaemon)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Object.java:442)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Object.java:568)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:339)
F/e.firmenich_ap(14193): runtime.cc:663]   - locked <0x06a9dfe1> (a java.lang.Daemons$FinalizerWatchdogDaemon)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:319)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Thread.run(Thread.java:929)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "Jit thread pool worker thread 0" prio=5 tid=8 Native
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x15d40030 self=0x7b8121b000
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14205 nice=0 cgrp=default sched=0/0 handle=0x7b8244bd40
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 166145 24980729 3 ) utm=0 stm=0 core=7 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b8234d000-0x7b8234f000 stackSize=1023KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14205/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 00000000005368b8  /apex/com.android.runtime/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+260)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 0000000000535c08  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Run()+80)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 000000000053570c  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 00000000000cf6f0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #06 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   (no managed stack frames)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "Runtime worker thread 2" prio=5 tid=9 Native (still starting up)
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x0 self=0x7b8126b800
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14208 nice=0 cgrp=default sched=0/0 handle=0x7c11346d40
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 130730 24925521 5 ) utm=0 stm=0 core=6 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7c11338000-0x7c1133a000 stackSize=63KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14208/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 00000000005368b8  /apex/com.android.runtime/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+260)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 0000000000535c08  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Run()+80)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 000000000053570c  /apex/com.android.runtime/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 00000000000cf6f0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #06 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   (no managed stack frames)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "FinalizerDaemon" prio=5 tid=10 Waiting
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x12c7b578 self=0x7b76a8c400
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14221 nice=4 cgrp=default sched=0/0 handle=0x7b82037d50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 147397 13735416 6 ) utm=0 stm=0 core=6 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b81f35000-0x7b81f37000 stackSize=1039KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14221/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cafc  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a188  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 000000000041898c  /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+620)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 000000000041a3f0  /apex/com.android.runtime/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+284)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Native method)
F/e.firmenich_ap(14193): runtime.cc:663]   - waiting on <0x01911106> (a java.lang.Object)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Object.wait(Object.java:442)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:190)
F/e.firmenich_ap(14193): runtime.cc:663]   - locked <0x01911106> (a java.lang.Object)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:211)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:271)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Thread.run(Thread.java:929)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "Binder:14193_1" prio=5 tid=11 Native
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x15d80020 self=0x7b76a26c00
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14224 nice=0 cgrp=default sched=0/0 handle=0x7b81d27d50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 2714063 23332292 32 ) utm=0 stm=0 core=6 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b81c31000-0x7b81c33000 stackSize=991KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14224/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 00000000000bae74  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 00000000000789c4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 0000000000064c60  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+256)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 0000000000064e34  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #04 pc 000000000006573c  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 000000000008b9d8  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #06 pc 00000000000136d8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+288)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #07 pc 0000000000101fd4  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #08 pc 00000000000cf6f0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #09 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   (no managed stack frames)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "HeapTaskDaemon" prio=5 tid=12 WaitingForTaskProcessor
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x12c7b458 self=0x7b76a88c00
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14217 nice=4 cgrp=default sched=0/0 handle=0x7b82249d50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 249482 21596875 13 ) utm=0 stm=0 core=1 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b82147000-0x7b82149000 stackSize=1039KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14217/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 000000000006cb00  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 000000000015a5c0  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+168)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 000000000029c2b0  /apex/com.android.runtime/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+508)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 000000000029cb08  /apex/com.android.runtime/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+92)
F/e.firmenich_ap(14193): runtime.cc:663]   at dalvik.system.VMRuntime.runHeapTasks(Native method)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:523)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Daemons$Daemon.run(Daemons.java:137)
F/e.firmenich_ap(14193): runtime.cc:663]   at java.lang.Thread.run(Thread.java:929)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663] "queued-work-looper" prio=4 tid=13 Native
F/e.firmenich_ap(14193): runtime.cc:663]   | group="" sCount=1 dsCount=0 flags=1 obj=0x12c7f7f8 self=0x7b8dc78c00
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14243 nice=10 cgrp=default sched=0/0 handle=0x7b81c2ad50
F/e.firmenich_ap(14193): runtime.cc:663]   | state=S schedstat=( 8269795 179355732 156 ) utm=0 stm=0 core=5 HZ=100
F/e.firmenich_ap(14193): runtime.cc:663]   | stack=0x7b81b28000-0x7b81b2a000 stackSize=1039KB
F/e.firmenich_ap(14193): runtime.cc:663]   | held mutexes=
F/e.firmenich_ap(14193): runtime.cc:663]   kernel: (couldn't read /proc/self/task/14243/stack)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #00 pc 00000000000bad38  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 0000000000017b64  /system/lib64/libutils.so (android::Looper::pollInner(int)+144)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #02 pc 0000000000017a34  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+56)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #03 pc 0000000000181f20  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.MessageQueue.nativePollOnce(Native method)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.MessageQueue.next(MessageQueue.java:363)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.Looper.loop(Looper.java:176)
F/e.firmenich_ap(14193): runtime.cc:663]   at android.os.HandlerThread.run(HandlerThread.java:67)
F/e.firmenich_ap(14193): runtime.cc:663] 
F/e.firmenich_ap(14193): runtime.cc:663]   native: #01 pc 00000000000789c4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #05 pc 000000000008b9d8  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
F/e.firmenich_ap(14193): runtime.cc:663]   native: #09 pc 00000000000720e8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
F/e.firmenich_ap(14193): runtime.cc:663]   | sysTid=14256 nice=0 cgrp=default sched=0/0 handle=0x7b81927d50

@DanieleFedeli
Copy link
Author

Solved long time ago by using flutter_aar.

@HongLouWang
Copy link

a better way to fix that is disable both minifyEnabled and shrinkResources in build.gradle under Android folder

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

2 participants