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

React Native Android fails with Desugaring enabled #45506

Closed
AndersonVanzo opened this issue Jul 18, 2024 · 8 comments
Closed

React Native Android fails with Desugaring enabled #45506

AndersonVanzo opened this issue Jul 18, 2024 · 8 comments
Labels
Platform: Android Android applications. Resolution: Answered When the issue is resolved with a simple answer

Comments

@AndersonVanzo
Copy link

Description

I'm integrating my app with the Zoop POS SDK for a device with Android SDK 23.
The SDK uses the Java Time Instant, so to be able to run I need to use coreLibraryDesugaringEnabled.
But, when i ran the app, I get the following error:

Failed to register native method com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.didFailWithError(Ljava/util/OptionalInt;Ljava/lang/String;)V in /data/app/com.zoop-1/base.apk

This is my build.gradle (app):

apply plugin: "com.android.application"
apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "com.facebook.react"

react {
}

def enableProguardInReleaseBuilds = false

def jscFlavor = 'org.webkit:android-jsc:+'

android {
    ndkVersion rootProject.ext.ndkVersion
    buildToolsVersion rootProject.ext.buildToolsVersion
    compileSdk rootProject.ext.compileSdkVersion

    namespace "com.zoop"
    defaultConfig {
        applicationId "com.zoop"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 1
        versionName "1.0"
    }
    signingConfigs {
        debug {
            storeFile file('debug.keystore')
            storePassword 'android'
            keyAlias 'androiddebugkey'
            keyPassword 'android'
        }
    }
    buildTypes {
        debug {
            signingConfig signingConfigs.debug
        }
        release {
            signingConfig signingConfigs.debug
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        }
    }
    packagingOptions {
        jniLibs {
            useLegacyPackaging = true
        }
    }
    compileOptions {
        coreLibraryDesugaringEnabled = true
    }
}

repositories {
    mavenLocal()
    maven {
        url = uri("https://maven.pkg.github.com/getzoop/zoop-package-public")
        credentials {
            username = ""    // Seu usuário do GitHub.
            password = "" // Sua PAT do GitHub.
        }
    }
}

dependencies {
    // The version of react-native is set by the React Native Gradle Plugin
    implementation("com.facebook.react:react-android")
    implementation("br.zoop.pos.plugin:smartpos-pax-a910:1.8.2")
    implementation("org.jetbrains.kotlin:kotlin-reflect:1.9.22")
    implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.0")
    implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1")
    implementation "com.google.code.gson:gson:2.10"
    implementation("com.squareup.okhttp:okhttp:2.5.0")
    implementation("com.squareup.okhttp3:okhttp:4.10.0")

    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'

    if (hermesEnabled.toBoolean()) {
        implementation("com.facebook.react:hermes-android")
    } else {
        implementation jscFlavor
    }
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

And my build.gradle (project):

buildscript {
    ext {
        buildToolsVersion = "34.0.0"
        minSdkVersion = 23
        compileSdkVersion = 34
        targetSdkVersion = 34
        ndkVersion = "26.1.10909125"
        kotlinVersion = "1.9.22"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
    }
}

apply plugin: "com.facebook.react.rootproject"

Steps to reproduce

  1. Run the Metro Server with yarn start
  2. Press a to run on Android
  3. Open the app

React Native Version

0.74.2

Affected Platforms

Runtime - Android

Output of npx react-native info

System:
  OS: Windows 11 10.0.22631
  CPU: (8) x64 Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
  Memory: 3.02 GB / 15.84 GB
Binaries:
  Node:
    version: 18.20.2
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 3.6.4
    path: C:\Program Files\nodejs\yarn.CMD
  npm:
    version: 10.5.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "28"
      - "30"
      - "31"
      - "33"
      - "34"
    Build Tools:
      - 28.0.2
      - 30.0.3
      - 31.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-34 | Google APIs Intel x86_64 Atom
      - android-34 | Google Play Intel x86_64 Atom
      - android-VanillaIceCream | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-232.10300.40.2321.11567975
  Visual Studio: Not Found
Languages:
  Java: 17.0.10
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.2
    wanted: 0.74.2
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

Failed to register native method com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.didFailWithError(Ljava/util/OptionalInt;Ljava/lang/String;)V in /data/app/com.zoop-1/base.apk
----- class 'Lcom/facebook/react/devsupport/CxxInspectorPackagerConnection$WebSocketDelegate;' cl=0x12c762c0 -----
  objectSize=456 (440 from super)
  access=0x0000.0000
  super='java.lang.Class<java.lang.Object>' (cl=0x0)
  interfaces (1):
     0: java.lang.Class<java.io.Closeable> (cl=0x0)
  vtable (4 entries, 11 in super):
     0: void com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.close()
     1: void com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.didClose()
     2: void com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.didFailWithError(j$.util.OptionalInt, java.lang.String)
     3: void com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.didReceiveMessage(java.lang.String)
  direct methods (1 entries):
     0: void com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.<init>(com.facebook.jni.HybridData)
  instance fields (1 entries):
     0: com.facebook.jni.HybridData com.facebook.react.devsupport.CxxInspectorPackagerConnection$WebSocketDelegate.mHybridData

error java.lang.NoSuchMethodError: no static or non-static method "Lcom/facebook/react/devsupport/CxxInspectorPackagerConnection$WebSocketDelegate;.didFailWithError(Ljava/util/OptionalInt;Ljava/lang/String;)V"
art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.NoSuchMethodError: no static or non-static method "Lcom/facebook/react/devsupport/CxxInspectorPackagerConnection$WebSocketDelegate;.didFailWithError(Ljava/util/OptionalInt;Ljava/lang/String;)V"
art/runtime/java_vm_ext.cc:410]   at nativeLoad (Runtime.java:-2)
art/runtime/java_vm_ext.cc:410]   at doLoad (Runtime.java:435)
art/runtime/java_vm_ext.cc:410]   at loadLibrary (Runtime.java:370)
art/runtime/java_vm_ext.cc:410]   at loadLibrary (System.java:1076)
art/runtime/java_vm_ext.cc:410]   at loadLibrary (SystemDelegate.java:24)
art/runtime/java_vm_ext.cc:410]   at loadLibrary (NativeLoader.java:52)
art/runtime/java_vm_ext.cc:410]   at loadLibrary (NativeLoader.java:30)
art/runtime/java_vm_ext.cc:410]   at loadLibrary (SoLoader.java:869)
art/runtime/java_vm_ext.cc:410]   at staticInit (DevSupportSoLoader.java:21)
art/runtime/java_vm_ext.cc:410]   at <clinit> (InspectorFlags.java:18)
art/runtime/java_vm_ext.cc:410]   at doInBackground (DevServerHelper.java:213)
art/runtime/java_vm_ext.cc:410]   at doInBackground (DevServerHelper.java:210)
art/runtime/java_vm_ext.cc:410]   at call (AsyncTask.java:295)
art/runtime/java_vm_ext.cc:410]   at run (FutureTask.java:237)
art/runtime/java_vm_ext.cc:410]   at runWorker (ThreadPoolExecutor.java:1113)
art/runtime/java_vm_ext.cc:410]   at run (ThreadPoolExecutor.java:588)
art/runtime/java_vm_ext.cc:410]   at run (Thread.java:818)
art/runtime/java_vm_ext.cc:410]
art/runtime/java_vm_ext.cc:410]     in call to NewGlobalRef
art/runtime/java_vm_ext.cc:410]     from java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String)
art/runtime/java_vm_ext.cc:410] "AsyncTask #2" prio=5 tid=11 Runnable
art/runtime/java_vm_ext.cc:410]   | group="main" sCount=0 dsCount=0 obj=0x12f23760 self=0xaf824d00
art/runtime/java_vm_ext.cc:410]   | sysTid=12614 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x9db8f930
art/runtime/java_vm_ext.cc:410]   | state=R schedstat=( 0 0 0 ) utm=1 stm=0 core=3 HZ=100
art/runtime/java_vm_ext.cc:410]   | stack=0x9da8d000-0x9da8f000 stackSize=1038KB
art/runtime/java_vm_ext.cc:410]   | held mutexes= "mutator lock"(shared held)
art/runtime/java_vm_ext.cc:410]   native: #00 pc 0035bd5f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
art/runtime/java_vm_ext.cc:410]   native: #01 pc 0033cb83  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
art/runtime/java_vm_ext.cc:410]   native: #02 pc 0024fabb  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+750)
art/runtime/java_vm_ext.cc:410]   native: #03 pc 0025015f  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+54)
art/runtime/java_vm_ext.cc:410]   native: #04 pc 000fc40d  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+28)
art/runtime/java_vm_ext.cc:410]   native: #05 pc 0010121b  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+4894)
art/runtime/java_vm_ext.cc:410]   native: #06 pc 00112731  /system/lib/libart.so (_ZN3art8CheckJNI12NewGlobalRefEP7_JNIEnvP8_jobject+368)
art/runtime/java_vm_ext.cc:410]   native: #07 pc 00335bdd  /system/lib/libart.so (_ZN3art6Thread22SetClassLoaderOverrideEP8_jobject+32)
art/runtime/java_vm_ext.cc:410]   native: #08 pc 002506cf  /system/lib/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectPS9_+1246)
art/runtime/java_vm_ext.cc:410]   native: #09 pc 002c1d8b  /system/lib/libart.so (_ZN3artL18Runtime_nativeLoadEP7_JNIEnvP7_jclassP8_jstringP8_jobjectS5_+178)
art/runtime/java_vm_ext.cc:410]   native: #10 pc 00212105  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoader_2Ljava_lang_String_2+144)
art/runtime/java_vm_ext.cc:410]   at java.lang.Runtime.nativeLoad(Native method)
art/runtime/java_vm_ext.cc:410]   at java.lang.Runtime.doLoad(Runtime.java:435)
art/runtime/java_vm_ext.cc:410]   - locked <0x0d16e494> (a java.lang.Runtime)
art/runtime/java_vm_ext.cc:410]   at java.lang.Runtime.loadLibrary(Runtime.java:370)
art/runtime/java_vm_ext.cc:410]   at java.lang.System.loadLibrary(System.java:1076)
art/runtime/java_vm_ext.cc:410]   at com.facebook.soloader.nativeloader.SystemDelegate.loadLibrary(SystemDelegate.java:24)
art/runtime/java_vm_ext.cc:410]   at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:52)
art/runtime/java_vm_ext.cc:410]   at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:30)
art/runtime/java_vm_ext.cc:410]   at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:869)
art/runtime/java_vm_ext.cc:410]   at com.facebook.react.devsupport.DevSupportSoLoader.staticInit(DevSupportSoLoader.java:21)
art/runtime/java_vm_ext.cc:410]   - locked <0x04547483> (a java.lang.Class<com.facebook.react.devsupport.DevSupportSoLoader>)
art/runtime/java_vm_ext.cc:410]   at com.facebook.react.devsupport.InspectorFlags.<clinit>(InspectorFlags.java:18)
art/runtime/java_vm_ext.cc:410]   at com.facebook.react.devsupport.DevServerHelper$3.doInBackground(DevServerHelper.java:213)
art/runtime/java_vm_ext.cc:410]   at com.facebook.react.devsupport.DevServerHelper$3.doInBackground(DevServerHelper.java:210)
art/runtime/java_vm_ext.cc:410]   at android.os.AsyncTask$2.call(AsyncTask.java:295)
art/runtime/java_vm_ext.cc:410]   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
art/runtime/java_vm_ext.cc:410]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
art/runtime/java_vm_ext.cc:410]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
art/runtime/java_vm_ext.cc:410]   at java.lang.Thread.run(Thread.java:818)
art/runtime/java_vm_ext.cc:410]
art/runtime/runtime.cc:368] Runtime aborting...
art/runtime/runtime.cc:368] Aborting thread:
art/runtime/runtime.cc:368] "AsyncTask #2" prio=4 tid=11 Native
art/runtime/runtime.cc:368]   | group="" sCount=0 dsCount=0 obj=0x12f23760 self=0xaf824d00
art/runtime/runtime.cc:368]   | sysTid=12614 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x9db8f930
art/runtime/runtime.cc:368]   | state=R schedstat=( 0 0 0 ) utm=1 stm=3 core=3 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9da8d000-0x9da8f000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes= "abort lock"
art/runtime/runtime.cc:368]   native: #00 pc 0035bd5f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
art/runtime/runtime.cc:368]   native: #01 pc 0033cb83  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
art/runtime/runtime.cc:368]   native: #02 pc 00320925  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+20)
art/runtime/runtime.cc:368]   native: #03 pc 00320ba1  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+540)
art/runtime/runtime.cc:368]   native: #04 pc 000f4179  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2092)
art/runtime/runtime.cc:368]   native: #05 pc 0024fdc5  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1528)
art/runtime/runtime.cc:368]   native: #06 pc 0025015f  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+54)
art/runtime/runtime.cc:368]   native: #07 pc 000fc40d  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+28)
art/runtime/runtime.cc:368]   native: #08 pc 0010121b  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+4894)
art/runtime/runtime.cc:368]   native: #09 pc 00112731  /system/lib/libart.so (_ZN3art8CheckJNI12NewGlobalRefEP7_JNIEnvP8_jobject+368)
art/runtime/runtime.cc:368]   native: #10 pc 00335bdd  /system/lib/libart.so (_ZN3art6Thread22SetClassLoaderOverrideEP8_jobject+32)
art/runtime/runtime.cc:368]   native: #11 pc 002506cf  /system/lib/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectPS9_+1246)
art/runtime/runtime.cc:368]   native: #12 pc 002c1d8b  /system/lib/libart.so (_ZN3artL18Runtime_nativeLoadEP7_JNIEnvP7_jclassP8_jstringP8_jobjectS5_+178)
art/runtime/runtime.cc:368]   native: #13 pc 00212105  /data/dalvik-cache/arm/system@framework@boot.oat (???)
art/runtime/runtime.cc:368]   at java.lang.Runtime.nativeLoad(Native method)
art/runtime/runtime.cc:368]   at java.lang.Runtime.doLoad(Runtime.java:435)
art/runtime/runtime.cc:368]   - locked <0x0d16e494> (a java.lang.Runtime)
art/runtime/runtime.cc:368]   at java.lang.Runtime.loadLibrary(Runtime.java:370)
art/runtime/runtime.cc:368]   at java.lang.System.loadLibrary(System.java:1076)
art/runtime/runtime.cc:368]   at com.facebook.soloader.nativeloader.SystemDelegate.loadLibrary(SystemDelegate.java:24)
art/runtime/runtime.cc:368]   at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:52)
art/runtime/runtime.cc:368]   at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:30)
art/runtime/runtime.cc:368]   at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:869)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.DevSupportSoLoader.staticInit(DevSupportSoLoader.java:21)
art/runtime/runtime.cc:368]   - locked <0x04547483> (a java.lang.Class<com.facebook.react.devsupport.DevSupportSoLoader>)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.InspectorFlags.<clinit>(InspectorFlags.java:18)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.DevServerHelper$3.doInBackground(DevServerHelper.java:213)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.DevServerHelper$3.doInBackground(DevServerHelper.java:210)
art/runtime/runtime.cc:368]   at android.os.AsyncTask$2.call(AsyncTask.java:295)
art/runtime/runtime.cc:368]   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368] Pending exception java.lang.NoSuchMethodError: no static or non-static method "Lcom/facebook/react/devsupport/CxxInspectorPackagerConnection$WebSocketDelegate;.didFailWithError(Ljava/util/OptionalInt;Ljava/lang/String;)V"
art/runtime/runtime.cc:368]   at nativeLoad (Runtime.java:-2)
art/runtime/runtime.cc:368]   at doLoad (Runtime.java:435)
art/runtime/runtime.cc:368]   at loadLibrary (Runtime.java:370)
art/runtime/runtime.cc:368]   at loadLibrary (System.java:1076)
art/runtime/runtime.cc:368]   at loadLibrary (SystemDelegate.java:24)
art/runtime/runtime.cc:368]   at loadLibrary (NativeLoader.java:52)
art/runtime/runtime.cc:368]   at loadLibrary (NativeLoader.java:30)
art/runtime/runtime.cc:368]   at loadLibrary (SoLoader.java:869)
art/runtime/runtime.cc:368]   at staticInit (DevSupportSoLoader.java:21)
art/runtime/runtime.cc:368]   at <clinit> (InspectorFlags.java:18)
art/runtime/runtime.cc:368]   at doInBackground (DevServerHelper.java:213)
art/runtime/runtime.cc:368]   at doInBackground (DevServerHelper.java:210)
art/runtime/runtime.cc:368]   at call (AsyncTask.java:295)
art/runtime/runtime.cc:368]   at run (FutureTask.java:237)
art/runtime/runtime.cc:368]   at runWorker (ThreadPoolExecutor.java:1113)
art/runtime/runtime.cc:368]   at run (ThreadPoolExecutor.java:588)
art/runtime/runtime.cc:368]   at run (Thread.java:818)
art/runtime/runtime.cc:368] Dumping all threads without appropriate locks held: thread list lock mutator lock
art/runtime/runtime.cc:368] All threads:
art/runtime/runtime.cc:368] DALVIK THREADS (19):
art/runtime/runtime.cc:368] "main" prio=5 tid=1 Runnable
art/runtime/runtime.cc:368]   | group="" sCount=0 dsCount=0 obj=0x749786b8 self=0xb4676500
art/runtime/runtime.cc:368]   | sysTid=12580 nice=0 cgrp=default sched=0/0 handle=0xb6f66c00
art/runtime/runtime.cc:368]   | state=R schedstat=( 0 0 0 ) utm=104 stm=25 core=1 HZ=100
art/runtime/runtime.cc:368]   | stack=0xbe769000-0xbe76b000 stackSize=8MB
art/runtime/runtime.cc:368]   | held mutexes= "mutator lock"(shared held)
art/runtime/runtime.cc:368]   native: #00 pc 0035bd5f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
art/runtime/runtime.cc:368]   native: #01 pc 0033cb83  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
art/runtime/runtime.cc:368]   native: #02 pc 00346249  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+424)
art/runtime/runtime.cc:368]   native: #03 pc 00336167  /system/lib/libart.so (_ZN3art6Thread21RunCheckpointFunctionEv+150)
art/runtime/runtime.cc:368]   native: #04 pc 003e3233  /system/lib/libart.so (_ZN3artL12GoToRunnableEPNS_6ThreadE+354)
art/runtime/runtime.cc:368]   native: #05 pc 000e5c4b  /system/lib/libart.so (_ZN3art25JniMethodEndWithReferenceEP8_jobjectjPNS_6ThreadE+10)
art/runtime/runtime.cc:368]   native: #06 pc 00254e1b  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Class_getDeclaredMethodInternal__Ljava_lang_String_2_3Ljava_lang_Class_2+126)
art/runtime/runtime.cc:368]   at java.lang.Class.getDeclaredMethodInternal!(Native method)
art/runtime/runtime.cc:368]   at java.lang.Class.getPublicMethodRecursive(Class.java:632)
art/runtime/runtime.cc:368]   at java.lang.Class.getMethod(Class.java:619)
art/runtime/runtime.cc:368]   at java.lang.Class.getMethod(Class.java:603)
art/runtime/runtime.cc:368]   at androidx.appcompat.widget.ViewUtils.makeOptionalFitsSystemWindows(ViewUtils.java:93)
art/runtime/runtime.cc:368]   at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:1056)
art/runtime/runtime.cc:368]   at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:889)
art/runtime/runtime.cc:368]   at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:763)
art/runtime/runtime.cc:368]   at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:203)
art/runtime/runtime.cc:368]   at com.facebook.react.ReactActivityDelegate.loadApp(ReactActivityDelegate.java:130)
art/runtime/runtime.cc:368]   at com.facebook.react.ReactActivityDelegate.onCreate(ReactActivityDelegate.java:124)
art/runtime/runtime.cc:368]   at com.facebook.react.ReactActivity.onCreate(ReactActivity.java:47)
art/runtime/runtime.cc:368]   at com.zoop.MainActivity.onCreate(MainActivity.kt:25)
art/runtime/runtime.cc:368]   at android.app.Activity.performCreate(Activity.java:6251)
art/runtime/runtime.cc:368]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
art/runtime/runtime.cc:368]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2370)
art/runtime/runtime.cc:368]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2477)
art/runtime/runtime.cc:368]   at android.app.ActivityThread.-wrap11(ActivityThread.java:-1)
art/runtime/runtime.cc:368]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1345)
art/runtime/runtime.cc:368]   at android.os.Handler.dispatchMessage(Handler.java:102)
art/runtime/runtime.cc:368]   at android.os.Looper.loop(Looper.java:148)
art/runtime/runtime.cc:368]   at android.app.ActivityThread.main(ActivityThread.java:5468)
art/runtime/runtime.cc:368]   at java.lang.reflect.Method.invoke!(Native method)
art/runtime/runtime.cc:368]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
art/runtime/runtime.cc:368]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:675)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "AsyncTask #2" prio=4 tid=11 Runnable
art/runtime/runtime.cc:368]   | group="" sCount=0 dsCount=0 obj=0x12f23760 self=0xaf824d00
art/runtime/runtime.cc:368]   | sysTid=12614 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x9db8f930
art/runtime/runtime.cc:368]   | state=R schedstat=( 0 0 0 ) utm=3 stm=4 core=3 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9da8d000-0x9da8f000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes= "abort lock" "mutator lock"(shared held)
art/runtime/runtime.cc:368]   native: #00 pc 0035bd5f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
art/runtime/runtime.cc:368]   native: #01 pc 0033cb83  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
art/runtime/runtime.cc:368]   native: #02 pc 00346249  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+424)
art/runtime/runtime.cc:368]   native: #03 pc 00346dad  /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+200)
art/runtime/runtime.cc:368]   native: #04 pc 003472b1  /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+124)
art/runtime/runtime.cc:368]   native: #05 pc 00320b15  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+400)
art/runtime/runtime.cc:368]   native: #06 pc 000f4179  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2092)
art/runtime/runtime.cc:368]   native: #07 pc 0024fdc5  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1528)
art/runtime/runtime.cc:368]   native: #08 pc 0025015f  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+54)
art/runtime/runtime.cc:368]   native: #09 pc 000fc40d  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+28)
art/runtime/runtime.cc:368]   native: #10 pc 0010121b  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+4894)
art/runtime/runtime.cc:368]   native: #11 pc 00112731  /system/lib/libart.so (_ZN3art8CheckJNI12NewGlobalRefEP7_JNIEnvP8_jobject+368)
art/runtime/runtime.cc:368]   native: #12 pc 00335bdd  /system/lib/libart.so (_ZN3art6Thread22SetClassLoaderOverrideEP8_jobject+32)
art/runtime/runtime.cc:368]   native: #13 pc 002506cf  /system/lib/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectPS9_+1246)
art/runtime/runtime.cc:368]   native: #14 pc 002c1d8b  /system/lib/libart.so (_ZN3artL18Runtime_nativeLoadEP7_JNIEnvP7_jclassP8_jstringP8_jobjectS5_+178)
art/runtime/runtime.cc:368]   native: #15 pc 00212105  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoader_2Ljava_lang_String_2+144)
art/runtime/runtime.cc:368]   at java.lang.Runtime.nativeLoad(Native method)
art/runtime/runtime.cc:368]   at java.lang.Runtime.doLoad(Runtime.java:435)
art/runtime/runtime.cc:368]   - locked <0x0d16e494> (a java.lang.Runtime)
art/runtime/runtime.cc:368]   at java.lang.Runtime.loadLibrary(Runtime.java:370)
art/runtime/runtime.cc:368]   at java.lang.System.loadLibrary(System.java:1076)
art/runtime/runtime.cc:368]   at com.facebook.soloader.nativeloader.SystemDelegate.loadLibrary(SystemDelegate.java:24)
art/runtime/runtime.cc:368]   at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:52)
art/runtime/runtime.cc:368]   at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:30)
art/runtime/runtime.cc:368]   at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:869)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.DevSupportSoLoader.staticInit(DevSupportSoLoader.java:21)
art/runtime/runtime.cc:368]   - locked <0x04547483> (a java.lang.Class<com.facebook.react.devsupport.DevSupportSoLoader>)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.InspectorFlags.<clinit>(InspectorFlags.java:18)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.DevServerHelper$3.doInBackground(DevServerHelper.java:213)
art/runtime/runtime.cc:368]   at com.facebook.react.devsupport.DevServerHelper$3.doInBackground(DevServerHelper.java:210)
art/runtime/runtime.cc:368]   at android.os.AsyncTask$2.call(AsyncTask.java:295)
art/runtime/runtime.cc:368]   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "Signal Catcher" prio=4 tid=2 WaitingInMainSignalCatcherLoop
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c7d0a0 self=0xac974c00
art/runtime/runtime.cc:368]   | sysTid=12585 nice=0 cgrp=default sched=0/0 handle=0xb3d65930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
art/runtime/runtime.cc:368]   | stack=0xb3c69000-0xb3c6b000 stackSize=1014KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 0004225c  /system/lib/libc.so (__rt_sigtimedwait+12)
art/runtime/runtime.cc:368]   native: #01 pc 0001cd97  /system/lib/libc.so (sigwait+22)
art/runtime/runtime.cc:368]   native: #02 pc 00327a9f  /system/lib/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+62)
art/runtime/runtime.cc:368]   native: #03 pc 00328b6f  /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+202)
art/runtime/runtime.cc:368]   native: #04 pc 0003f82b  /system/lib/libc.so (_ZL15__pthread_startPv+30)
art/runtime/runtime.cc:368]   native: #05 pc 00019f75  /system/lib/libc.so (__start_thread+6)
art/runtime/runtime.cc:368]   (no managed stack frames)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "JDWP" prio=4 tid=3 WaitingInMainDebuggerLoop
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c800a0 self=0xb4676a00
art/runtime/runtime.cc:368]   | sysTid=12586 nice=0 cgrp=default sched=0/0 handle=0xb3c66930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100
art/runtime/runtime.cc:368]   | stack=0xb3b6a000-0xb3b6c000 stackSize=1014KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 00042394  /system/lib/libc.so (__pselect6+20)
art/runtime/runtime.cc:368]   native: #01 pc 0001c0e5  /system/lib/libc.so (select+60)
art/runtime/runtime.cc:368]   native: #02 pc 003e8ca3  /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+206)
art/runtime/runtime.cc:368]   native: #03 pc 0025b693  /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+298)
art/runtime/runtime.cc:368]   native: #04 pc 0025c4ff  /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+10)
art/runtime/runtime.cc:368]   native: #05 pc 0003f82b  /system/lib/libc.so (_ZL15__pthread_startPv+30)
art/runtime/runtime.cc:368]   native: #06 pc 00019f75  /system/lib/libc.so (__start_thread+6)
art/runtime/runtime.cc:368]   (no managed stack frames)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "FinalizerDaemon" prio=4 tid=4 Waiting
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c7c280 self=0xb467ab00
art/runtime/runtime.cc:368]   | sysTid=12588 nice=0 cgrp=default sched=0/0 handle=0xb3a5b930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=3 HZ=100
art/runtime/runtime.cc:368]   | stack=0xb3959000-0xb395b000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+28)
art/runtime/runtime.cc:368]   native: #01 pc 000f64fd  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
art/runtime/runtime.cc:368]   native: #02 pc 002b016f  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1114)
art/runtime/runtime.cc:368]   native: #03 pc 002b0e2b  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
art/runtime/runtime.cc:368]   native: #04 pc 002c1c41  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+36)
art/runtime/runtime.cc:368]   native: #05 pc 7313d56d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
art/runtime/runtime.cc:368]   at java.lang.Object.wait!(Native method)
art/runtime/runtime.cc:368]   - waiting on <0x05283cf4> (a java.lang.ref.ReferenceQueue)
art/runtime/runtime.cc:368]   at java.lang.Object.wait(Object.java:423)
art/runtime/runtime.cc:368]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
art/runtime/runtime.cc:368]   - locked <0x05283cf4> (a java.lang.ref.ReferenceQueue)
art/runtime/runtime.cc:368]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
art/runtime/runtime.cc:368]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:186)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "OkHttp http://localhost:8081/..." prio=5 tid=13 Runnable
art/runtime/runtime.cc:368]   | group="" sCount=0 dsCount=0 obj=0x12f239a0 self=0xaf825700
art/runtime/runtime.cc:368]   | sysTid=12619 nice=0 cgrp=default sched=0/0 handle=0x9d8ff930
art/runtime/runtime.cc:368]   | state=R schedstat=( 0 0 0 ) utm=0 stm=2 core=0 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9d7fd000-0x9d7ff000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes= "mutator lock"(shared held)
art/runtime/runtime.cc:368]   native: #00 pc 0035bd5f  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+126)
art/runtime/runtime.cc:368]   native: #01 pc 0033cb83  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+138)
art/runtime/runtime.cc:368]   native: #02 pc 00346249  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+424)
art/runtime/runtime.cc:368]   native: #03 pc 00336167  /system/lib/libart.so (_ZN3art6Thread21RunCheckpointFunctionEv+150)
art/runtime/runtime.cc:368]   native: #04 pc 0011dcad  /system/lib/libart.so (_ZN3art11ClassLinker16LoadClassMembersEPNS_6ThreadERKNS_7DexFileEPKhNS_6HandleINS_6mirror5ClassEEEPKNS_7OatFile8OatClassE+784)
art/runtime/runtime.cc:368]   native: #05 pc 0011e145  /system/lib/libart.so (_ZN3art11ClassLinker9LoadClassEPNS_6ThreadERKNS_7DexFileERKNS3_8ClassDefENS_6HandleINS_6mirror5ClassEEE+88)
art/runtime/runtime.cc:368]   native: #06 pc 00132891  /system/lib/libart.so (_ZN3art11ClassLinker11DefineClassEPNS_6ThreadEPKcjNS_6HandleINS_6mirror11ClassLoaderEEERKNS_7DexFileERKNS9_8ClassDefE+320)
art/runtime/runtime.cc:368]   native: #07 pc 00132ef9  /system/lib/libart.so (_ZN3art11ClassLinker26FindClassInPathClassLoaderERNS_33ScopedObjectAccessAlreadyRunnableEPNS_6ThreadEPKcjNS_6HandleINS_6mirror11ClassLoaderEEEPPNS8_5ClassE+688)
art/runtime/runtime.cc:368]   native: #08 pc 001331c1  /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE.part.589+476)
art/runtime/runtime.cc:368]   native: #09 pc 00133a83  /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+42)
art/runtime/runtime.cc:368]   native: #10 pc 001367ed  /system/lib/libart.so (_ZN3art11ClassLinker11ResolveTypeERKNS_7DexFileEtNS_6HandleINS_6mirror8DexCacheEEENS4_INS5_11ClassLoaderEEE+128)
art/runtime/runtime.cc:368]   native: #11 pc 003b9df5  /system/lib/libart.so (artAllocObjectFromCodeRosAlloc+2020)
art/runtime/runtime.cc:368]   native: #12 pc 000e7fcd  /system/lib/libart.so (art_quick_alloc_object_rosalloc+28)
art/runtime/runtime.cc:368]   native: #13 pc 01bb7c4b  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response$Builder okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(boolean)+262)
art/runtime/runtime.cc:368]   native: #14 pc 017d355f  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response$Builder okhttp3.internal.connection.Exchange.readResponseHeaders(boolean)+66)
art/runtime/runtime.cc:368]   native: #15 pc 01baebf5  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.CallServerInterceptor.intercept(okhttp3.Interceptor$Chain)+1632)
art/runtime/runtime.cc:368]   native: #16 pc 01bb07f1  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request)+1564)
art/runtime/runtime.cc:368]   native: #17 pc 01b9f473  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.connection.ConnectInterceptor.intercept(okhttp3.Interceptor$Chain)+550)
art/runtime/runtime.cc:368]   native: #18 pc 01bb07f1  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request)+1564)
art/runtime/runtime.cc:368]   native: #19 pc 01b9b81d  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.cache.CacheInterceptor.intercept(okhttp3.Interceptor$Chain)+2040)
art/runtime/runtime.cc:368]   native: #20 pc 01bb07f1  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request)+1564)
art/runtime/runtime.cc:368]   native: #21 pc 01baddbb  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.BridgeInterceptor.intercept(okhttp3.Interceptor$Chain)+1822)
art/runtime/runtime.cc:368]   native: #22 pc 01bb07f1  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request)+1564)
art/runtime/runtime.cc:368]   native: #23 pc 01bb3777  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(okhttp3.Interceptor$Chain)+578)
art/runtime/runtime.cc:368]   native: #24 pc 01bb07f1  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.http.RealInterceptorChain.proceed(okhttp3.Request)+1564)
art/runtime/runtime.cc:368]   native: #25 pc 01ba28db  /data/app/com.zoop-1/oat/arm/base.odex (okhttp3.Response okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp()+1614)
art/runtime/runtime.cc:368]   native: #26 pc 017d7133  /data/app/com.zoop-1/oat/arm/base.odex (void okhttp3.internal.connection.RealCall$AsyncCall.run()+454)
art/runtime/runtime.cc:368]   native: #27 pc 003cecdf  /data/dalvik-cache/arm/system@framework@boot.oat (???)
art/runtime/runtime.cc:368]   at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:180)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "ReferenceQueueDaemon" prio=4 tid=5 Waiting
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c7c220 self=0xb4679c00
art/runtime/runtime.cc:368]   | sysTid=12587 nice=0 cgrp=default sched=0/0 handle=0xb3b62930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
art/runtime/runtime.cc:368]   | stack=0xb3a60000-0xb3a62000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+28)
art/runtime/runtime.cc:368]   native: #01 pc 000f64fd  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
art/runtime/runtime.cc:368]   native: #02 pc 002b016f  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1114)
art/runtime/runtime.cc:368]   native: #03 pc 002b0e2b  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
art/runtime/runtime.cc:368]   native: #04 pc 002c1c15  /system/lib/libart.so (_ZN3artL11Object_waitEP7_JNIEnvP8_jobject+32)
art/runtime/runtime.cc:368]   native: #05 pc 7313d37f  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+74)
art/runtime/runtime.cc:368]   at java.lang.Object.wait!(Native method)
art/runtime/runtime.cc:368]   - waiting on <0x0d6c7c1d> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
art/runtime/runtime.cc:368]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:147)
art/runtime/runtime.cc:368]   - locked <0x0d6c7c1d> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "FinalizerWatchdogDaemon" prio=4 tid=6 Sleeping
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c7c2e0 self=0xaf822000
art/runtime/runtime.cc:368]   | sysTid=12589 nice=0 cgrp=default sched=0/0 handle=0xb394e930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=2 HZ=100
art/runtime/runtime.cc:368]   | stack=0xb384c000-0xb384e000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175ec  /system/lib/libc.so (syscall+32)
art/runtime/runtime.cc:368]   native: #01 pc 000f6759  /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+104)
art/runtime/runtime.cc:368]   native: #02 pc 002afec7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+434)
art/runtime/runtime.cc:368]   native: #03 pc 002b0e2b  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
art/runtime/runtime.cc:368]   native: #04 pc 0001c063  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+126)
art/runtime/runtime.cc:368]   at java.lang.Thread.sleep!(Native method)
art/runtime/runtime.cc:368]   - sleeping on <0x0c5e7063> (a java.lang.Object)
art/runtime/runtime.cc:368]   at java.lang.Thread.sleep(Thread.java:1031)
art/runtime/runtime.cc:368]   - locked <0x0c5e7063> (a java.lang.Object)
art/runtime/runtime.cc:368]   at java.lang.Thread.sleep(Thread.java:985)
art/runtime/runtime.cc:368]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:274)
art/runtime/runtime.cc:368]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:285)
art/runtime/runtime.cc:368]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:233)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "HeapTaskDaemon" prio=4 tid=7 Blocked
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c7c340 self=0xaf822500
art/runtime/runtime.cc:368]   | sysTid=12590 nice=0 cgrp=default sched=0/0 handle=0xaf96d930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=2 stm=2 core=2 HZ=100
art/runtime/runtime.cc:368]   | stack=0xaf86b000-0xaf86d000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175ec  /system/lib/libc.so (syscall+32)
art/runtime/runtime.cc:368]   native: #01 pc 000f6759  /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+104)
art/runtime/runtime.cc:368]   native: #02 pc 001cd7b9  /system/lib/libart.so (_ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+208)
art/runtime/runtime.cc:368]   native: #03 pc 001cdc45  /system/lib/libart.so (_ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+60)
art/runtime/runtime.cc:368]   native: #04 pc 0000037f  /data/dalvik-cache/arm/system@framework@boot.oat (Java_dalvik_system_VMRuntime_runHeapTasks__+74)
art/runtime/runtime.cc:368]   at dalvik.system.VMRuntime.runHeapTasks(Native method)
art/runtime/runtime.cc:368]   - waiting to lock an unknown object
art/runtime/runtime.cc:368]   at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:356)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "Binder_1" prio=4 tid=8 Native
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c870a0 self=0xad79a000
art/runtime/runtime.cc:368]   | sysTid=12591 nice=0 cgrp=default sched=0/0 handle=0xaf601930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
art/runtime/runtime.cc:368]   | stack=0xaf505000-0xaf507000 stackSize=1014KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+28)
art/runtime/runtime.cc:368]   native: #01 pc 000f64fd  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
art/runtime/runtime.cc:368]   native: #02 pc 0010f1e5  /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+832)
art/runtime/runtime.cc:368]   native: #03 pc 001105af  /system/lib/libart.so (_ZN3art8CheckJNI18CallBooleanMethodVEP7_JNIEnvP8_jobjectP10_jmethodIDSt9__va_list+30)
art/runtime/runtime.cc:368]   native: #04 pc 00083ae7  /system/lib/libandroid_runtime.so (???)
art/runtime/runtime.cc:368]   native: #05 pc 000877a3  /system/lib/libandroid_runtime.so (???)
art/runtime/runtime.cc:368]   native: #06 pc 00019acd  /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j+60)
art/runtime/runtime.cc:368]   native: #07 pc 0001ee0d  /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi+584)
art/runtime/runtime.cc:368]   native: #08 pc 0001ef65  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+64)
art/runtime/runtime.cc:368]   native: #09 pc 0001efc9  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48)
art/runtime/runtime.cc:368]   native: #10 pc 00023a71  /system/lib/libbinder.so (???)
art/runtime/runtime.cc:368]   native: #11 pc 00010161  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
art/runtime/runtime.cc:368]   native: #12 pc 0005e157  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
art/runtime/runtime.cc:368]   native: #13 pc 0003f82b  /system/lib/libc.so (_ZL15__pthread_startPv+30)
art/runtime/runtime.cc:368]   native: #14 pc 00019f75  /system/lib/libc.so (__start_thread+6)
art/runtime/runtime.cc:368]   (no managed stack frames)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "Binder_2" prio=4 tid=9 Native
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12c8b0a0 self=0xaf822a00
art/runtime/runtime.cc:368]   | sysTid=12592 nice=0 cgrp=default sched=0/0 handle=0xab05d930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=1 HZ=100
art/runtime/runtime.cc:368]   | stack=0xaaf61000-0xaaf63000 stackSize=1014KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000415d4  /system/lib/libc.so (__ioctl+8)
art/runtime/runtime.cc:368]   native: #01 pc 00047805  /system/lib/libc.so (ioctl+14)
art/runtime/runtime.cc:368]   native: #02 pc 0001ea1d  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132)
art/runtime/runtime.cc:368]   native: #03 pc 0001ef2b  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+6)
art/runtime/runtime.cc:368]   native: #04 pc 0001efc9  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48)
art/runtime/runtime.cc:368]   native: #05 pc 00023a71  /system/lib/libbinder.so (???)
art/runtime/runtime.cc:368]   native: #06 pc 00010161  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
art/runtime/runtime.cc:368]   native: #07 pc 0005e157  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
art/runtime/runtime.cc:368]   native: #08 pc 0003f82b  /system/lib/libc.so (_ZL15__pthread_startPv+30)
art/runtime/runtime.cc:368]   native: #09 pc 00019f75  /system/lib/libc.so (__start_thread+6)
art/runtime/runtime.cc:368]   (no managed stack frames)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "AsyncTask #1" prio=4 tid=10 Waiting
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12f23580 self=0xaf825200
art/runtime/runtime.cc:368]   | sysTid=12613 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x9dc94930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=2 stm=0 core=3 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9db92000-0x9db94000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+28)
art/runtime/runtime.cc:368]   native: #01 pc 000f64fd  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
art/runtime/runtime.cc:368]   native: #02 pc 002b016f  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1114)
art/runtime/runtime.cc:368]   native: #03 pc 002b0e2b  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
art/runtime/runtime.cc:368]   native: #04 pc 002c1c41  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+36)
art/runtime/runtime.cc:368]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
art/runtime/runtime.cc:368]   at java.lang.Object.wait!(Native method)
art/runtime/runtime.cc:368]   - waiting on <0x0ba788db> (a java.lang.Object)
art/runtime/runtime.cc:368]   at java.lang.Thread.parkFor$(Thread.java:1220)
art/runtime/runtime.cc:368]   - locked <0x0ba788db> (a java.lang.Object)
art/runtime/runtime.cc:368]   at sun.misc.Unsafe.park(Unsafe.java:299)
art/runtime/runtime.cc:368]   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
art/runtime/runtime.cc:368]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
art/runtime/runtime.cc:368]   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "java.lang.ProcessManager" prio=4 tid=12 Waiting
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12f39520 self=0xad79b400
art/runtime/runtime.cc:368]   | sysTid=12615 nice=0 cgrp=default sched=0/0 handle=0x9da8a930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9d988000-0x9d98a000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+28)
art/runtime/runtime.cc:368]   native: #01 pc 000f64fd  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
art/runtime/runtime.cc:368]   native: #02 pc 002b016f  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1114)
art/runtime/runtime.cc:368]   native: #03 pc 002b0e2b  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
art/runtime/runtime.cc:368]   - waiting on <0x066a2f78> (a java.util.HashMap)
art/runtime/runtime.cc:368]   at java.lang.ProcessManager.waitForMoreChildren(ProcessManager.java:140)
art/runtime/runtime.cc:368]   - locked <0x066a2f78> (a java.util.HashMap)
art/runtime/runtime.cc:368]   at java.lang.ProcessManager.watchChildren(ProcessManager.java:105)
art/runtime/runtime.cc:368] "OkHttp http://localhost:8081/..." prio=4 tid=14 Native
art/runtime/runtime.cc:368]   | sysTid=12620 nice=0 cgrp=default sched=0/0 handle=0x9d7fa930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=1 core=0 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9d6f8000-0x9d6fa000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+28)
art/runtime/runtime.cc:368]   native: #03 pc 0010bdab  /system/lib/libart.so (_ZN3art8CheckJNI24ReleaseByteArrayElementsEP7_JNIEnvP11_jbyteArrayPai+18)
art/runtime/runtime.cc:368]   native: #04 pc 000218d5  /system/lib/libjavacore.so (???)
art/runtime/runtime.cc:368]   native: #06 pc 00442d4d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_libcore_io_Posix_recvfromBytes__Ljava_io_FileDescriptor_2Ljava_lang_Object_2IIILjava_net_InetSocketAddress_2+168)
art/runtime/runtime.cc:368]   at libcore.io.Posix.recvfromBytes(Native method)
art/runtime/runtime.cc:368]   at libcore.io.Posix.recvfrom(Posix.java:189)
art/runtime/runtime.cc:368]   at libcore.io.IoBridge.recvfrom(IoBridge.java:549)
art/runtime/runtime.cc:368]   at java.net.PlainSocketImpl.read(PlainSocketImpl.java:481)
art/runtime/runtime.cc:368]   at okio.InputStreamSource.read(JvmOkio.kt:94)
art/runtime/runtime.cc:368]   at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:125)
art/runtime/runtime.cc:368]   at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
art/runtime/runtime.cc:368]   at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:178)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
art/runtime/runtime.cc:368]   at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
art/runtime/runtime.cc:368]   at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "OkHttp TaskRunner" prio=4 tid=15 TimedWaiting
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12f5e280 self=0x9d930a00
art/runtime/runtime.cc:368]   | sysTid=12623 nice=0 cgrp=default sched=0/0 handle=0x9d014930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9cf12000-0x9cf14000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175ec  /system/lib/libc.so (syscall+32)
art/runtime/runtime.cc:368]   native: #01 pc 000f6759  /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+104)
art/runtime/runtime.cc:368]   native: #02 pc 002afec7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+434)
art/runtime/runtime.cc:368]   native: #03 pc 002b0e2b  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
art/runtime/runtime.cc:368]   native: #04 pc 002c1c41  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+36)
art/runtime/runtime.cc:368]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
art/runtime/runtime.cc:368]   at java.lang.Object.wait!(Native method)
art/runtime/runtime.cc:368]   - waiting on <0x08a91042> (a java.lang.Object)
art/runtime/runtime.cc:368]   at java.lang.Thread.parkFor$(Thread.java:1220)
art/runtime/runtime.cc:368]   - locked <0x08a91042> (a java.lang.Object)
art/runtime/runtime.cc:368]   at sun.misc.Unsafe.park(Unsafe.java:299)
art/runtime/runtime.cc:368]   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
art/runtime/runtime.cc:368]   at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:430)
art/runtime/runtime.cc:368]   at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:332)
art/runtime/runtime.cc:368]   at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:911)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1037)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "OkHttp TaskRunner" prio=4 tid=16 TimedWaiting
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12f8c0a0 self=0x9d931e00
art/runtime/runtime.cc:368]   | sysTid=12624 nice=0 cgrp=default sched=0/0 handle=0x9cf0f930
art/runtime/runtime.cc:368]   | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
art/runtime/runtime.cc:368]   | stack=0x9ce0d000-0x9ce0f000 stackSize=1038KB
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175e8  /system/lib/libc.so (syscall+28)
art/runtime/runtime.cc:368]   native: #01 pc 000f64fd  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+80)
art/runtime/runtime.cc:368]   native: #02 pc 002b0209  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1268)
art/runtime/runtime.cc:368]   native: #03 pc 002b0e2b  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+110)
art/runtime/runtime.cc:368]   native: #04 pc 002c1c41  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+36)
art/runtime/runtime.cc:368]   native: #05 pc 0000056d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96)
art/runtime/runtime.cc:368]   at java.lang.Object.wait!(Native method)
art/runtime/runtime.cc:368]   - waiting on <0x07fc3853> (a okhttp3.internal.concurrent.TaskRunner)
art/runtime/runtime.cc:368]   at okhttp3.internal.concurrent.TaskRunner$RealBackend.coordinatorWait(TaskRunner.kt:294)
art/runtime/runtime.cc:368]   at okhttp3.internal.concurrent.TaskRunner.awaitTaskToRun(TaskRunner.kt:218)
art/runtime/runtime.cc:368]   at okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:59)
art/runtime/runtime.cc:368]   - locked <0x07fc3853> (a okhttp3.internal.concurrent.TaskRunner)
art/runtime/runtime.cc:368]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
art/runtime/runtime.cc:368]   at java.lang.Thread.run(Thread.java:818)
art/runtime/runtime.cc:368]
art/runtime/runtime.cc:368] "OkHttp TaskRunner" prio=4 tid=17 TimedWaiting
art/runtime/runtime.cc:368]   | group="" sCount=1 dsCount=0 obj=0x12f6f100 self=0xad79c800
art/runtime/runtime.cc:368]   | sysTid=12622 nice=0 cgrp=default sched=0/0 handle=0x9d119930
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   | held mutexes=
art/runtime/runtime.cc:368]   native: #00 pc 000175ec  /system/lib/libc.so (syscall+32)
art/runtime/runtime.cc:368]   native: #01 pc 000f6759  /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+104)
art/runtime/runtime.cc:368]   native: #02 pc 002afec7  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+434)

Reproducer

https://github.com/AndersonVanzo/desugaringerror

Screenshots and Videos

No response

Copy link

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.74.3. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@github-actions github-actions bot added the Platform: Android Android applications. label Jul 18, 2024
@AndersonVanzo
Copy link
Author

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.74.3. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

The reproducer was made with RN 0.74.3 and the problem still exists

@netmaxt3r
Copy link
Contributor

@AndersonVanzo is it possible to bump your minSdkVersion to 24 reproducer app starts with this change alone

@AndersonVanzo
Copy link
Author

@netmaxt3r I can't change minSdkVersion to 24 because the target device (this one) uses Android 6.0 (SDK 23)

@netmaxt3r
Copy link
Contributor

@AndersonVanzo
you are facing this issue because desugring rewrites java.util.OptionalInt to j$.util.OptionalInt which will fail on any JNI binding from native code.

I see your device spec says android 7.0 firmware is available, you could try update it 7.0 and raise minsdkVersion.

you could also try with com.android.tools:desugar_jdk_libs_minimal:2.0.4 instead of coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' and make sure it works on device, most probably it wont

@cortinico
Copy link
Contributor

The answer provided by @netmaxt3r is excellent!

We don't support this out of the box, plus we're also about to bump the minSdk to 24 in an upcoming version of RN (see react-native-community/discussions-and-proposals#802).

What I can reccomend to try @AndersonVanzo is to:

  1. Switch to build from source https://reactnative.dev/contributing/how-to-build-from-source
  2. Remove the OptionalInt parameter from those places:


    (you'll also have to update all the callsites).

@cortinico cortinico added Resolution: Answered When the issue is resolved with a simple answer and removed Needs: Triage 🔍 Newer Patch Available labels Jul 19, 2024
@Augustach
Copy link

I encountered the same issue due to OptionalInt and coreLibraryDesugaringEnabled in my app. I found that it was addressed in this pull request. Is it possible to include this fix in the upcoming 75.3 release?

@cortinico
Copy link
Contributor

I encountered the same issue due to OptionalInt and coreLibraryDesugaringEnabled in my app. I found that it was addressed in this pull request. Is it possible to include this fix in the upcoming 75.3 release?

You can open a pick request here: https://github.com/reactwg/react-native-releases/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android Android applications. Resolution: Answered When the issue is resolved with a simple answer
Projects
None yet
Development

No branches or pull requests

4 participants