Home Features Docs Blog Support GitHub

Problems with 3rd party libraries

Hi,

I am using commons.lang3 in my project and i am stuck to 3.8.1 (current ist 3.10) of it. I get an error.
There are other libs with the same problem e.g. Bouncycastle (stuck to 1.61 but current is 1.65)
I tried it with community 1.5.0 and 1.6.0 but also with original 1.4.3

The following output is generated for BouncyCastle 1.64

dex2oat I 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/dex2oat/dex2oat.cc:2220] .../.moe-community/moe-sdk-1.6.0/tools/dex2oat --instruction-set=arm64 --base=0x10000000 --compiler-backend=Quick --generate-debug-info --image=.../build/moe/main/dex2oat/debug-arm64/image.art --image-classes=.../.moe-community/moe-sdk-1.6.0/tools/preloaded-classes --oat-file=.../build/moe/main/dex2oat/debug-arm64/application.oat --dex-file=.../build/moe/main/dex/classes.jar:.../.moe-community/moe-sdk-1.6.0/sdk/moe-core.dex:.../.moe-community/moe-sdk-1.6.0/sdk/moe-ios-retro-dex.jar
dex2oat I 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/runtime/parsed_options.cc:449] setting boot class path to .../build/moe/main/dex/classes.jar:.../.moe-community/moe-sdk-1.6.0/sdk/moe-core.dex:.../.moe-community/moe-sdk-1.6.0/sdk/moe-ios-retro-dex.jar
dex2oat W 81936 4474538 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Landroid/os/Environment;
dex2oat W 81936 4474541 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljava/nio/file/Paths;
dex2oat W 81936 4474539 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljava/nio/file/Path;
dex2oat W 81936 4474542 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljava/nio/file/Files;
dex2oat W 81936 4474539 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/Binding;
dex2oat W 81936 4474538 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/InitialDirContext;
dex2oat W 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/DirContext;
dex2oat W 81936 4474542 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/NamingException;
dex2oat W 81936 4474537 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/Attribute;
dex2oat W 81936 4474543 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/SearchResult;
dex2oat W 81936 4474539 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/SearchControls;
dex2oat W 81936 4474540 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/NamingEnumeration;
dex2oat W 81936 4474541 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/Attributes;
dex2oat W 81936 4474539 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardTerminal;
dex2oat W 81936 4474540 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CommandAPDU;
dex2oat W 81936 4474541 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/ResponseAPDU;
dex2oat W 81936 4474543 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardChannel;
dex2oat W 81936 4474539 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljunit/framework/Assert;
dex2oat W 81936 4474537 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/Card;
dex2oat W 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardException;
dex2oat W 81936 4474538 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/TerminalFactory;
dex2oat W 81936 4474541 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljunit/framework/TestCase;
dex2oat W 81936 4474542 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardTerminals;
dex2oat W 81936 4474541 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljunit/framework/TestCase;
dex2oat W 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: void android.icu.text.NumberFormat.<clinit>()
dex2oat W 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: java.lang.String java.lang.AbstractStringBuilder.substring(int)
dex2oat W 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: java.lang.String com.android.org.bouncycastle.util.Strings.toLowerCase(java.lang.String)
dex2oat W 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: java.lang.String java.lang.IntegralToString.stringOf(char[])
dex2oat I 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/runtime/gc/heap.cc:2729] Explicit concurrent mark sweep GC freed 51450(18MB) AllocSpace objects, 0(0B) LOS objects, 14% free, 22MB/26MB, paused 30us total 12.557ms
dex2oat I 81936 4474538 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/compiler.cc:50] Method exceeds compiler instruction limit: 20530 in void org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests.testDecodeEncodePrivateKeyQT1P()
dex2oat F 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:649]Unexpected failure to resolve a method: void org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests.<init>()
dex2oat F 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:655] java.lang.NoClassDefFoundError: org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests
dex2oat F 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:655] (Throwable with empty stack trace)
NATIVE BACKTRACE:
0   dex2oat                             0x000000000bfc3ec9 _ZN3art7Runtime5AbortEv + 99
1   dex2oat                             0x000000000bfe8975 _ZN3art10LogMessageD2Ev + 559
2   dex2oat                             0x000000000beb3cde _ZN3art9OatWriter22InitImageMethodVisitor11VisitMethodEmRKNS_21ClassDataItemIteratorE + 1614
3   dex2oat                             0x000000000beaf570 _ZN3art9OatWriter15VisitDexMethodsEPNS0_16DexMethodVisitorE + 266
4   dex2oat                             0x000000000beaf15c _ZN3art9OatWriter19InitOatCodeDexFilesEm + 176
5   dex2oat                             0x000000000beae251 _ZN3art9OatWriterC2ERKNSt3__16vectorIPKNS_7DexFileENS1_9allocatorIS5_EEEEjmiPKNS_14CompilerDriverEPNS_11ImageWriterEPNS_12TimingLoggerEPNS_7SafeMapINS1_12basic_stringIcNS1_11char_traitsIcEENS6_IcEEEESN_NS1_4lessISN_EENS_17TrackingAllocatorINS1_4pairIKSN_SN_EELNS_12AllocatorTagE7EEEEE + 545
6   dex2oat                             0x000000000bd3e33a _ZN3art7Dex2Oat13CreateOatFileEv + 422
7   dex2oat                             0x000000000bd31145 _ZN3artL7dex2oatEiPPc + 316
8   dex2oat                             0x000000000bd30f2b main + 27
9   libdyld.dylib                       0x00007fff71d41cc9 start + 1
10  ???                                 0x0000000000000009 0x0 + 9

dex2oat F 81936 4474530 /Users/noisyfox/Documents/projects/moe/aosp/art/runtime/runtime.cc:464]Runtime aborting...
Aborting thread:
"main" prio=5 tid=1 Runnable (still starting up)
  | group="" sCount=0 dsCount=0 obj=0x0 self=0x7fa964808200
  | sysTid=4474530 nice=-1 cgrp=default sched=1/31 handle=0xf81cdc0
  | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
  | stack=0x7ffee36d4000-0x7ffee36dc000 stackSize=8MB
  | held mutexes= "abort lock" "mutator lock"(shared held)
  (no managed stack frames)
Pending exception java.lang.NoClassDefFoundError: org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests
(Throwable with empty stack trace)Dumping all threads without appropriate locks held: thread list lock
All threads:
DALVIK THREADS (1):
"main" prio=5 tid=1 Runnable (still starting up)
  | group="" sCount=0 dsCount=0 obj=0x0 self=0x7fa964808200
  | sysTid=4474530 nice=-1 cgrp=default sched=1/31 handle=0xf81cdc0
  | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
  | stack=0x7ffee36d4000-0x7ffee36dc000 stackSize=8MB
  | held mutexes= "abort lock" "mutator lock"(shared held)
  (no managed stack frames)

My proguard.append.cfg contains the following lines:

-keep class org.bouncycastle.** {
    *;
}

commons-lang 3.9 and onwards targets Java 8 and uses features that are not supported by MOE.

For BC could you share your some detail of the library you use, preferably the dependencies block of build.gradle file.

I am not sure, if we can close this ticket. I think it is an Bouncy Castle issue which they solved with 1.65

If I configure my project with the Bouncy Castle versions 1.61, 1.62 or 1.65 it compiles.

Using BC 1.63 or 1.64 results in a compile-time error. The Android project (which does not use MOE) compiles with all BC versions.

This is from my dependency block:

...
// Stuck to 1.62 (last tried 1.64) because of the following compile error:
//   dex2oat F 21816 3611071 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:649]Unexpected failure to resolve a method: void org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests.<init>()
//   dex2oat F 21816 3611071 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:655] java.lang.NoClassDefFoundError: org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests
compile 'org.bouncycastle:bcprov-jdk15on:1.63'
compile 'org.bouncycastle:bcpkix-jdk15on:1.63'

Output (same as in /Users/<user_home>/Sandboxes/<SRC>/build/moe/main/dex2oat/debug-arm64/Dex2Oat.log):

Configure project :p4u_ios
Using already downloaded SDK: /Users/.../.moe-community/moe-sdk-1.6.0
...
> Task :ios_app:compileJava UP-TO-DATE
> Task :ios_app:processResources UP-TO-DATE
> Task :ios_app:classes UP-TO-DATE
> Task :ios_app:moeMainProGuard
> Task :ios_app:moeMainRetrolambda
> Task :ios_app:moeGenerateUIObjCInterfaces
> Task :ios_app:moeMainDex

###########
# ERROR LOG
###########


dex2oat I 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/dex2oat/dex2oat.cc:2220] /Users/.../.moe-community/moe-sdk-1.6.0/tools/dex2oat --instruction-set=arm64 --base=0x10000000 --compiler-backend=Quick --generate-debug-info --image=/Users/<user_home>/Sandboxes/<SRC>/build/moe/main/dex2oat/debug-arm64/image.art --image-classes=/Users/<user_home>/.moe-community/moe-sdk-1.6.0/tools/preloaded-classes --oat-file=/Users/<user_home>/Sandboxes/<SRC>/build/moe/main/dex2oat/debug-arm64/application.oat --dex-file=/Users/<user_home>/Sandboxes/<SRC>/build/moe/main/dex/classes.jar:/Users/<user_home>/.moe-community/moe-sdk-1.6.0/sdk/moe-core.dex:/Users/<user_home>/.moe-community/moe-sdk-1.6.0/sdk/moe-ios-retro-dex.jar
dex2oat I 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/runtime/parsed_options.cc:449] setting boot class path to /Users/<user_home>/Sandboxes/<SRC>/build/moe/main/dex/classes.jar:/Users/<user_home>/.moe-community/moe-sdk-1.6.0/sdk/moe-core.dex:/Users/<user_home>/.moe-community/moe-sdk-1.6.0/sdk/moe-ios-retro-dex.jar
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Landroid/os/Environment;
dex2oat W 39376 5558572 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljava/nio/file/Path;
dex2oat W 39376 5558564 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljava/nio/file/Files;
dex2oat W 39376 5558571 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljava/nio/file/Paths;
dex2oat W 39376 5558564 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/NamingEnumeration;
dex2oat W 39376 5558568 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/Binding;
dex2oat W 39376 5558572 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/Attributes;
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/SearchControls;
dex2oat W 39376 5558570 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/DirContext;
dex2oat W 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/Attribute;
dex2oat W 39376 5558572 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardException;
dex2oat W 39376 5558564 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/InitialDirContext;
dex2oat W 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardTerminal;
dex2oat W 39376 5558571 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/NamingException;
dex2oat W 39376 5558568 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/naming/directory/SearchResult;
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardChannel;
dex2oat W 39376 5558571 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljunit/framework/Assert;
dex2oat W 39376 5558572 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CommandAPDU;
dex2oat W 39376 5558569 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/CardTerminals;
dex2oat W 39376 5558564 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/ResponseAPDU;
dex2oat W 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/TerminalFactory;
dex2oat W 39376 5558570 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljavax/smartcardio/Card;
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljunit/framework/TestCase;
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/driver/compiler_driver.cc:2033] Failed to resolve class Ljunit/framework/TestCase;
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: void android.icu.text.NumberFormat.<clinit>()
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: java.lang.String java.lang.AbstractStringBuilder.substring(int)
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: java.lang.String com.android.org.bouncycastle.util.Strings.toLowerCase(java.lang.String)
dex2oat W 39376 5558567 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/dex/verification_results.cc:61] Method processed more than once: java.lang.String java.lang.IntegralToString.stringOf(char[])
dex2oat I 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/runtime/gc/heap.cc:2729] Explicit concurrent mark sweep GC freed 51365(18MB) AllocSpace objects, 0(0B) LOS objects, 14% free, 22MB/26MB, paused 30us total 12.661ms
dex2oat I 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/compiler.cc:50] Method exceeds compiler instruction limit: 20530 in void org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests.testDecodeEncodePrivateKeyQT1P()
dex2oat F 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:649]Unexpected failure to resolve a method: void org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests.<init>()
dex2oat F 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:655] java.lang.NoClassDefFoundError: org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests
dex2oat F 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/compiler/oat_writer.cc:655] (Throwable with empty stack trace)
NATIVE BACKTRACE:
0   dex2oat                             0x000000000c688ec9 _ZN3art7Runtime5AbortEv + 99
1   dex2oat                             0x000000000c6ad975 _ZN3art10LogMessageD2Ev + 559
2   dex2oat                             0x000000000c578cde _ZN3art9OatWriter22InitImageMethodVisitor11VisitMethodEmRKNS_21ClassDataItemIteratorE + 1614
3   dex2oat                             0x000000000c574570 _ZN3art9OatWriter15VisitDexMethodsEPNS0_16DexMethodVisitorE + 266
4   dex2oat                             0x000000000c57415c _ZN3art9OatWriter19InitOatCodeDexFilesEm + 176
5   dex2oat                             0x000000000c573251 _ZN3art9OatWriterC2ERKNSt3__16vectorIPKNS_7DexFileENS1_9allocatorIS5_EEEEjmiPKNS_14CompilerDriverEPNS_11ImageWriterEPNS_12TimingLoggerEPNS_7SafeMapINS1_12basic_stringIcNS1_11char_traitsIcEENS6_IcEEEESN_NS1_4lessISN_EENS_17TrackingAllocatorINS1_4pairIKSN_SN_EELNS_12AllocatorTagE7EEEEE + 545

> Task :ios_app:moeMainDebugArm64Dex2Oat FAILED
6   dex2oat                             0x000000000c40333a _ZN3art7Dex2Oat13CreateOatFileEv + 422
7   dex2oat                             0x000000000c3f6145 _ZN3artL7dex2oatEiPPc + 316
8   dex2oat                             0x000000000c3f5f2b main + 27
9   libdyld.dylib                       0x00007fff71d41cc9 start + 1
10  ???                                 0x0000000000000009 0x0 + 9

dex2oat F 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/runtime/runtime.cc:464]Runtime aborting...
Aborting thread:
"main" prio=5 tid=1 Runnable (still starting up)
  | group="" sCount=0 dsCount=0 obj=0x0 self=0x7f9b0900e800
  | sysTid=5558554 nice=-1 cgrp=default sched=1/31 handle=0x119e4dc0
  | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
  | stack=0x7ffee300f000-0x7ffee3017000 stackSize=8MB
  | held mutexes= "abort lock" "mutator lock"(shared held)
  (no managed stack frames)
Pending exception java.lang.NoClassDefFoundError: org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests
(Throwable with empty stack trace)Dumping all threads without appropriate locks held: thread list lock
All threads:
DALVIK THREADS (1):
"main" prio=5 tid=1 Runnable (still starting up)
  | group="" sCount=0 dsCount=0 obj=0x0 self=0x7f9b0900e800
  | sysTid=5558554 nice=-1 cgrp=default sched=1/31 handle=0x119e4dc0
  | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
  | stack=0x7ffee300f000-0x7ffee3017000 stackSize=8MB
  | held mutexes= "abort lock" "mutator lock"(shared held)
  (no managed stack frames)

dex2oat W 39376 5558554 /Users/noisyfox/Documents/projects/moe/aosp/art/runtime/barrier.cc:96] Attempted to destroy barrier with non zero count -1




FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ios_app:moeMainDebugArm64Dex2Oat'.
> Task failed, you can find the log file here: /Users/<user_home>/Sandboxes/<SRC>/build/moe/main/dex2oat/debug-arm64/Dex2Oat.log