My app fails Play Store pre-launch tests

Yes i know I did ask in that thread if it could be related and Taifun moved my post out of that thread and created this one.

The error it shows comes from the Google Play Store?

No
That error is only similar...
The error message for the companion issue is

Unable to load extensions.java.lang.StringIndexOutOfBoundsException: start 1, end 0, length 0

Taifun

The error ! receive from google pre-launch tests now seems to have changed to -

Input dispatching timed out (a4079fb appinventor.ai_stm6386.ScotNav/appinventor.ai_stm6386.ScotNav.Screen1 (server) is not responding. Waited 5006ms for KeyEvent)

If I build an apk from the code that fails on google it runs all google pay tests perfectly ... i can subscribe, unsubscribe ... everything is as should be ... no issue at all.
If I disable the "GogglePlayBilling1.StartConnection" block then send it to google for pre-launch tests the app passes no problem.
I really dont understand whats causing the problem.

the stack is too large to post in one massage apparently

"stm6386.ScotNav" tid=23333 Unknown
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x00000000001af840 /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+136)
#02 pc 0x00000000005b4a14 /apex/com.android.art/lib64/libart.so (art::ThreadList::WaitForOtherNonDaemonThreadsToExit(bool)+124)
#03 pc 0x0000000000389084 /apex/com.android.art/lib64/libart.so (art::JII::DestroyJavaVM(_JavaVM*)+32)
#04 pc 0x00000000000a0930 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+1012)
#05 pc 0x0000000000003574 /system/bin/app_process64 (main+1324)
#06 pc 0x000000000004973c /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108)

"Signal Catcher" tid=5 Runnable
#00 pc 0x0000000000496638 /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
#01 pc 0x00000000005a01d8 /apex/com.android.art/lib64/libart.so (art::thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits >&, bool, BacktraceMap*, bool) const+372)
#02 pc 0x00000000005bce18 /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+892)
#03 pc 0x00000000005b6e30 /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+528)
#04 pc 0x00000000005b602c /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits >&, bool)+1920)
#05 pc 0x00000000005b54e4 /apex/com.android.art/lib64/libart.so (art::ThreadList::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits >&)+756)
#06 pc 0x00000000005622cc /apex/com.android.art/lib64/libart.so (art::Runtime::DumpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits >&)+196)
#07 pc 0x0000000000576f90 /apex/com.android.art/lib64/libart.so (art::SignalCatcher::HandleSigQuit()+1396)
#08 pc 0x0000000000575f84 /apex/com.android.art/lib64/libart.so (art::SignalCatcher::Run(void*)+348)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"ReferenceQueueDaemon" tid=7 Waiting
at java.lang.Object.wait (Native method)
at java.lang.Object.wait (Object.java:442)
at java.lang.Object.wait (Object.java:568)
at java.lang.Daemons$ReferenceQueueDaemon.runInternal (Daemons.java:217)
at java.lang.Daemons$Daemon.run (Daemons.java:139)
at java.lang.Thread.run (Thread.java:923)

"FinalizerDaemon" tid=8 Waiting
at java.lang.Object.wait (Native method)
at java.lang.Object.wait (Object.java:442)
at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:190)
at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:211)
at java.lang.Daemons$FinalizerDaemon.runInternal (Daemons.java:273)
at java.lang.Daemons$Daemon.run (Daemons.java:139)
at java.lang.Thread.run (Thread.java:923)

"HeapTaskDaemon" tid=9 Waiting
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x00000000001af840 /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+136)
#02 pc 0x00000000002e3658 /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+532)
#03 pc 0x00000000002e3f74 /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+92)
at dalvik.system.VMRuntime.runHeapTasks (Native method)
at java.lang.Daemons$HeapTaskDaemon.runInternal (Daemons.java:531)
at java.lang.Daemons$Daemon.run (Daemons.java:139)
at java.lang.Thread.run (Thread.java:923)

"FinalizerWatchdogDaemon" tid=10 Waiting
at java.lang.Object.wait (Native method)
at java.lang.Object.wait (Object.java:442)
at java.lang.Object.wait (Object.java:568)
at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded (Daemons.java:341)
at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal (Daemons.java:321)
at java.lang.Daemons$Daemon.run (Daemons.java:139)
at java.lang.Thread.run (Thread.java:923)

"Jit thread pool worker thread 0" tid=11 Native
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x00000000001af840 /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+136)
#02 pc 0x00000000005beb18 /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+120)
#03 pc 0x00000000005bddc4 /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+144)
#04 pc 0x00000000005bd894 /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+192)
#05 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#06 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"Binder:23333_1" tid=12 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"Binder:23333_2" tid=13 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"Binder:23333_3" tid=14 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"Profile Saver" tid=15 Native
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x00000000001af840 /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+136)
#02 pc 0x0000000000351af0 /apex/com.android.art/lib64/libart.so (art::ProfileSaver::Run()+484)
#03 pc 0x0000000000356790 /apex/com.android.art/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread(void*)+176)
#04 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#05 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"RenderThread" tid=16 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x000000000020e3ec /system/lib64/libhwui.so (android::uirenderer::ThreadBase::waitForWork()+132)
#04 pc 0x000000000022f428 /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+80)
#05 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#06 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#07 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#08 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"queued-work-looper" tid=18 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x0000000000110db0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:183)
at android.os.HandlerThread.run (HandlerThread.java:67)

"Chrome_ProcessLauncherThread" tid=19 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x0000000000110db0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:183)
at android.os.HandlerThread.run (HandlerThread.java:67)

"GoogleApiHandler" tid=21 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x0000000000110db0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:183)
at android.os.HandlerThread.run (HandlerThread.java:67)

"Chrome_IOThread" tid=22 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x00000000020b447c /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"ThreadPoolForeg" tid=23 Native
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"PlatformServiceBridgeHandlerThread" tid=24 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x0000000000110db0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:183)
at android.os.HandlerThread.run (HandlerThread.java:67)

"Binder:23333_4" tid=25 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"ThreadPoolForeg" tid=26 Native
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"CleanupReference" tid=27 Waiting
at java.lang.Object.wait (Native method)
at java.lang.Object.wait (Object.java:442)
at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:190)
at java.lang.ref.ReferenceQueue.remove (ReferenceQueue.java:211)
at Tt.run (chromium-TrichromeWebViewGoogle.apk-stable-410410683:2)

"AudioThread" tid=28 Native
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aeca0 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
#03 pc 0x00000000021646a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"Chrome_InProcGpuThread" tid=29 Native
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"Timer-0" tid=30 Timed Waiting
at java.lang.Object.wait (Native method)
at java.lang.Object.wait (Object.java:442)
at java.util.TimerThread.mainLoop (Timer.java:559)
at java.util.TimerThread.run (Timer.java:512)

"VizCompositorThread" tid=32 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x0000000000110db0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:183)
at android.os.HandlerThread.run (HandlerThread.java:67)

"pool-2-thread-1" tid=34 Waiting
at sun.misc.Unsafe.park (Native method)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)

"WifiManagerThread" tid=31 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x0000000000110db0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:183)
at android.os.HandlerThread.run (HandlerThread.java:67)

"OkHttp ConnectionPool" tid=36 Timed Waiting
at java.lang.Object.wait (Native method)
at com.android.okhttp.ConnectionPool$1.run (ConnectionPool.java:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)

"process reaper" tid=37 Timed Waiting
at sun.misc.Unsafe.park (Native method)
at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:461)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.poll (SynchronousQueue.java:937)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1091)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)

"AsyncTask #2" tid=38 Waiting
at sun.misc.Unsafe.park (Native method)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill (SynchronousQueue.java:459)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer (SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.take (SynchronousQueue.java:920)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)

"ThreadPoolForeg" tid=33 Native
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"InsetsAnimations" tid=39 Native
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x0000000000019a2c /system/lib64/libutils.so (android::Looper::pollInner(int)+184)
#02 pc 0x000000000001990c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
#03 pc 0x0000000000110db0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
at android.os.MessageQueue.nativePollOnce (Native method)
at android.os.MessageQueue.next (MessageQueue.java:335)
at android.os.Looper.loop (Looper.java:183)
at android.os.HandlerThread.run (HandlerThread.java:67)

"PlayBillingLibrary-1" tid=40 Waiting
at sun.misc.Unsafe.park (Native method)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)

"PlayBillingLibrary-2" tid=41 Waiting
at sun.misc.Unsafe.park (Native method)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)

"PlayBillingLibrary-3" tid=42 Waiting
at sun.misc.Unsafe.park (Native method)
at java.util.concurrent.locks.LockSupport.park (LockSupport.java:190)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await (AbstractQueuedSynchronizer.java:2067)
at java.util.concurrent.LinkedBlockingQueue.take (LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask (ThreadPoolExecutor.java:1092)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)

"ThreadPoolForeg" tid=43 Native
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"ThreadPoolForeg" tid=44 Native
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"Binder:23333_5" tid=1 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"Binder:23333_6" tid=2 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"Binder:23333_7" tid=3 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"Binder:23333_8" tid=4 Native
#00 pc 0x000000000009aa28 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+8)
#01 pc 0x0000000000057ac4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
#02 pc 0x0000000000051ad4 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
#03 pc 0x0000000000051cc4 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
#04 pc 0x0000000000052584 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
#05 pc 0x0000000000078654 /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
#06 pc 0x0000000000015414 /system/lib64/libutils.so (android::thread::_threadLoop(void*)+260)
#07 pc 0x00000000000a0bac /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#08 pc 0x0000000000014cd8 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
#09 pc 0x00000000000af880 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#10 pc 0x00000000000500d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

"ThreadPoolServi" tid=23444 Unknown
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x00000000020b447c /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"MemoryInfra" tid=23447 Unknown
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"ThreadPoolForeg" tid=23452 Unknown
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"ThreadPoolSingl" tid=23471 Unknown
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aeca0 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
#03 pc 0x00000000021646a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"NetworkService" tid=23472 Unknown
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x00000000020b447c /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"CookieMonsterCl" tid=23474 Unknown
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aeca0 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
#03 pc 0x00000000021646a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"CookieMonsterBa" tid=23476 Unknown
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aeca0 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
#03 pc 0x00000000021646a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"Chrome_ChildIOT" tid=23497 Unknown
#00 pc 0x000000000009b9e8 /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
#01 pc 0x00000000020b447c /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"ThreadPoolSingl" tid=23531 Unknown
#00 pc 0x000000000004b20c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aeca0 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
#03 pc 0x00000000021646a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

"ThreadPoolForeg" tid=23598 Unknown
#00 pc 0x000000000004b210 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
#01 pc 0x000000000004edec /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
#02 pc 0x00000000000aed44 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
#03 pc 0x0000000001f925a0 /data/app/~~xSCrhAfijTWPcReAMoJbDQ==/com.google.android.webview-NBHcDlpE8JGx2vWGTLzo5Q==/WebViewGoogle.apk!libmonochrome.so

For which device(s) and Android version(s) do you receive this error message in the Pre-launch report?

just the one

google Pixel 5
1080x2340
Android 11 (SDK 30)
8,192 MB
arm64-v8a
en_GB

Do you have an Android 11 test device that you can use to test the APK? Does the preview video show an error during testing? Sometimes the pre-launch report gives a false positive test result. So you could try making the app available as a beta version to a limited number of testers first.

Unfortunately I don't have an android device.
Ive tried to exclude devices Android 11 and below but there doesnt seem to be an easy way to do this is there ?

Yes, there is, but I don't think it is necessary.

OK
I believe our paths crossed a few years ago, Python i think.
What do you think is necessary ?

As I said, the Pre-launch report sometimes gives a false positive error.


To set minSdkVersion to 31, you only need a simple extension.

What more can I say... this is probably the answer... have you updated the extension to the newest version possible?

But why should the problem only occur on Android 11?

Maybe the extension is built on the Google Billing SDK which had some bug on Android 11. There is a reason all SDKs are constantly updated. Does Google test apps on every available version of Android? If it encounters a problem with any SDK, does it abort the test?

yes i have updated to the newest version available ... 7.1.1

you only need a simple extension.
How do i do this ?

minSdk31.aix (4.0 KB)

Anke I incorporated the extension but it then failed on Android 12 +13.
I dont really understand the error but it is only caused when the Google Billing is enabled.
Specifically the block below, if I disable that one block then it passes the tests, that block doesnt require any keyboard input at all ...

Input dispatching timed out (473686d appinventor.ai_stm6386.ScotNav/appinventor.ai_stm6386.ScotNav.Screen1 (server) is not responding. Waited 5006ms for KeyEvent(deviceId=-1, eventTime=32187693000000, source=KEYBOARD, displayId=-1, action=DOWN, flags=0x00000000, keyCode=BACK(4), scanCode=0, metaState=0x00000000, repeatCount=0), policyFlags=0x6b000000)