Error one:
Exception in thread "main" java.lang.IllegalStateException: Unsupported arg: false
Solution: When passing the parameter false, replace it with 0
Error two:
[main]W/libc: pthread_create failed: clone failed: Out of memory
Solution: add code
emulator.getSyscallHandler().setEnableThreadDispatcher(true);