“dlopen failed: is 32-bit instead of 64-bit” in tests only
问题 I'm having a set or Gradle modules that uses the core module based on c++ code: Core (C++ with JNI glue, aar with libxyz-jni.so ) Tests (Android instrumentation tests) App (regular Android app) Core module includes native 32 bit libxyz-jni.so compiled for armeabi-v7a and x86 and is compiled to aar . It does not have arm64 libraries. App module depends on Core and is working on arm64 hardware device without any issues (is able to load libxyz-jni.so ) Tests depends on Core and fails to load