Android Processing Emulator Not Working

Hello, I am trying to test my android projects with the processing android emulator, but it isn’t working. This is the error I’m getting:
Emulator process exited with status 1.
EmulatorController: Emulator never booted. NOT_RUNNING
Error while starting the emulator. (NOT_RUNNING)

I have the same problem

Hello @fernandomeneses ,

What is your development environment?

My development environment:

  • Processing 4.3.4 or 4.4.4
  • Windows 10
  • Android Mode 4.6.1

“Run in Emulator” will build and then fail.

Emulator also failed with Processing 4.4.4

Console output:

Trying again it just wants to install the emulator again which is 1.7GB.

Console output < Click here to expand!
Build folder: D:\temp\android14536896883471722625sketch
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33

This Android Gradle plugin (7.1.0) was tested up to compileSdk = 32

This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=33
to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 33
This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
Checking the license for package Android SDK Build-Tools 30.0.3 in D:\Users\GLV\Documents\P4\android\sdk\licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in D:\Users\GLV\Documents\P4\android\sdk\build-tools\30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 33 in D:\Users\GLV\Documents\P4\android\sdk\licenses
License for package Android SDK Platform 33 accepted.
Preparing "Install Android SDK Platform 33 (revision: 3)".
"Install Android SDK Platform 33 (revision: 3)" ready.
Installing Android SDK Platform 33 in D:\Users\GLV\Documents\P4\android\sdk\platforms\android-33
"Install Android SDK Platform 33 (revision: 3)" complete.
"Install Android SDK Platform 33 (revision: 3)" finished.
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:javaPreCompileDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:checkDebugAarMetadata
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:processDebugMainManifest
> Task :app:processDebugManifest
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugResources
> Task :app:mergeDebugAssets
> Task :app:compressDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:checkDebugDuplicateClasses
> Task :app:mergeDebugJniLibFolders
> Task :app:mergeDebugJavaResource
> Task :app:mergeDebugNativeLibs NO-SOURCE
> Task :app:stripDebugDebugSymbols NO-SOURCE
> Task :app:validateSigningDebug
> Task :app:writeDebugAppMetadata
> Task :app:processDebugManifestForPackage
> Task :app:writeDebugSigningConfigVersions
> Task :app:processDebugResources

> Task :app:compileDebugJavaWithJavac
Annotation processing got disabled, since it requires a 1.6 compliant JVM

> Task :app:dexBuilderDebug
> Task :app:desugarDebugFileDependencies
> Task :app:mergeExtDexDebug
> Task :app:mergeDexDebug
> Task :app:packageDebug
> Task :app:createDebugApkListingFileRedirect
> Task :app:assembleDebug

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m 32s
27 actionable tasks: 27 executed
Loading package information...                                                  
Loading local repository...                                                     
[                                       ] 3% Loading local repository...        
[                                       ] 3% Fetch remote repository...         
[=                                      ] 3% Fetch remote repository...         
[=                                      ] 4% Fetch remote repository...         
[=                                      ] 5% Fetch remote repository...         
[==                                     ] 5% Fetch remote repository...         
[==                                     ] 6% Fetch remote repository...         
[==                                     ] 7% Fetch remote repository...         
[==                                     ] 7% Computing updates...               
[===                                    ] 8% Computing updates...               
[===                                    ] 10% Computing updates...              
[===                                    ] 10% Installing Android Emulator       
[===                                    ] 10% Downloading emulator-windows_x64-1
[====                                   ] 10% Downloading emulator-windows_x64-1
[====                                   ] 11% Downloading emulator-windows_x64-1
[====                                   ] 12% Downloading emulator-windows_x64-1
[=====                                  ] 13% Downloading emulator-windows_x64-1
[=====                                  ] 14% Downloading emulator-windows_x64-1
[=====                                  ] 15% Downloading emulator-windows_x64-1
[======                                 ] 15% Downloading emulator-windows_x64-1
[======                                 ] 16% Downloading emulator-windows_x64-1
[======                                 ] 17% Downloading emulator-windows_x64-1
[=======                                ] 18% Downloading emulator-windows_x64-1
[=======                                ] 19% Downloading emulator-windows_x64-1
[=======                                ] 20% Downloading emulator-windows_x64-1
[========                               ] 20% Downloading emulator-windows_x64-1
[========                               ] 21% Downloading emulator-windows_x64-1
[========                               ] 22% Downloading emulator-windows_x64-1
[=========                              ] 23% Downloading emulator-windows_x64-1
[=========                              ] 24% Downloading emulator-windows_x64-1
[=========                              ] 25% Downloading emulator-windows_x64-1
[==========                             ] 25% Downloading emulator-windows_x64-1
[==========                             ] 26% Downloading emulator-windows_x64-1
[==========                             ] 27% Downloading emulator-windows_x64-1
[===========                            ] 28% Downloading emulator-windows_x64-1
[===========                            ] 29% Downloading emulator-windows_x64-1
[===========                            ] 30% Downloading emulator-windows_x64-1
[============                           ] 30% Downloading emulator-windows_x64-1
[============                           ] 31% Downloading emulator-windows_x64-1
[============                           ] 32% Downloading emulator-windows_x64-1
[============                           ] 33% Downloading emulator-windows_x64-1
[============                           ] 33% Unzipping...                      
[============                           ] 33% Unzipping... emulator/            
[============                           ] 33% Unzipping... emulator/bin64/      
[============                           ] 33% Unzipping... emulator/drivers/    
[============                           ] 33% Unzipping... emulator/include/    
[============                           ] 33% Unzipping... emulator/lib/        
[============                           ] 33% Unzipping... emulator/lib64/      
[============                           ] 33% Unzipping... emulator/qemu/       
[============                           ] 33% Unzipping... emulator/resources/  
[============                           ] 33% Unzipping... emulator/android-info
[=============                          ] 33% Unzipping... emulator/android-info
[=============                          ] 33% Unzipping... emulator/concrt140.dl
[=============                          ] 33% Unzipping... emulator/crashpad_han
[=============                          ] 33% Unzipping... emulator/crashreport.
[=============                          ] 33% Unzipping... emulator/emulator-che
[=============                          ] 33% Unzipping... emulator/emulator.exe
[=============                          ] 33% Unzipping... emulator/libabseil_dl
[=============                          ] 33% Unzipping... emulator/libandroid-e
[=============                          ] 33% Unzipping... emulator/libglib2_win
[=============                          ] 33% Unzipping... emulator/liblibprotob
[=============                          ] 33% Unzipping... emulator/LICENSE     
[=============                          ] 33% Unzipping... emulator/mksdcard.exe
[=============                          ] 33% Unzipping... emulator/msvcp140.dll
[=============                          ] 33% Unzipping... emulator/msvcp140_1.d
[=============                          ] 33% Unzipping... emulator/msvcp140_2.d
[=============                          ] 33% Unzipping... emulator/msvcp140_ato
[=============                          ] 33% Unzipping... emulator/msvcp140_cod
[=============                          ] 33% Unzipping... emulator/netsimd.exe 
[=============                          ] 34% Unzipping... emulator/netsimd.exe 
[=============                          ] 34% Unzipping... emulator/nimble_bridg
[=============                          ] 34% Unzipping... emulator/NOTICE.csv  
[=============                          ] 34% Unzipping... emulator/NOTICE.txt  
[=============                          ] 34% Unzipping... emulator/qemu-img.exe
[=============                          ] 34% Unzipping... emulator/qsn.exe     
[=============                          ] 34% Unzipping... emulator/source.prope
[=============                          ] 34% Unzipping... emulator/vccorlib140.
[=============                          ] 34% Unzipping... emulator/vcruntime140
[=============                          ] 34% Unzipping... emulator/bin64/cygblk
[=============                          ] 34% Unzipping... emulator/bin64/cygcom
[=============                          ] 34% Unzipping... emulator/bin64/cyge2p
[=============                          ] 34% Unzipping... emulator/bin64/cygext
[=============                          ] 34% Unzipping... emulator/bin64/cyggcc
[=============                          ] 34% Unzipping... emulator/bin64/cygico
[=============                          ] 34% Unzipping... emulator/bin64/cygint
[=============                          ] 34% Unzipping... emulator/bin64/cyguui
[=============                          ] 34% Unzipping... emulator/bin64/cygwin
[=============                          ] 35% Unzipping... emulator/bin64/cygwin
[=============                          ] 35% Unzipping... emulator/bin64/e2fsck
[=============                          ] 35% Unzipping... emulator/bin64/resize
[=============                          ] 35% Unzipping... emulator/bin64/tune2f
[=============                          ] 35% Unzipping... emulator/drivers/Andr
[=============                          ] 35% Unzipping... emulator/drivers/Inst
[=============                          ] 35% Unzipping... emulator/drivers/usba
[=============                          ] 35% Unzipping... emulator/drivers/UsbA
[=============                          ] 35% Unzipping... emulator/include/flat
[=============                          ] 35% Unzipping... emulator/lib/cmake/  
[=============                          ] 35% Unzipping... emulator/lib/pc-bios/
[=============                          ] 35% Unzipping... emulator/lib/pkgconfi
[=============                          ] 35% Unzipping... emulator/lib/adb_serv
[=============                          ] 35% Unzipping... emulator/lib/advanced
[=============                          ] 35% Unzipping... emulator/lib/ca-bundl
[=============                          ] 35% Unzipping... emulator/lib/emu-orig
[=============                          ] 35% Unzipping... emulator/lib/emulated
[=============                          ] 35% Unzipping... emulator/lib/emulator
[=============                          ] 35% Unzipping... emulator/lib/flatbuff
[=============                          ] 35% Unzipping... emulator/lib/grpc_end
[=============                          ] 35% Unzipping... emulator/lib/hardware
[=============                          ] 35% Unzipping... emulator/lib/hostapd.
[=============                          ] 35% Unzipping... emulator/lib/snapshot
[=============                          ] 35% Unzipping... emulator/lib/ui_contr
[=============                          ] 35% Unzipping... emulator/lib/cmake/fl
[=============                          ] 35% Unzipping... emulator/lib/pc-bios/
[=============                          ] 35% Unzipping... emulator/lib/pkgconfi
[=============                          ] 35% Unzipping... emulator/lib64/gles_a
[=============                          ] 35% Unzipping... emulator/lib64/gles_m
[=============                          ] 35% Unzipping... emulator/lib64/gles_s
[=============                          ] 35% Unzipping... emulator/lib64/qt/   
[=============                          ] 35% Unzipping... emulator/lib64/vulkan
[=============                          ] 35% Unzipping... emulator/lib64/libabs
[=============                          ] 35% Unzipping... emulator/lib64/liband
[=============                          ] 35% Unzipping... emulator/lib64/libemu
[=============                          ] 35% Unzipping... emulator/lib64/libgfx
[==============                         ] 35% Unzipping... emulator/lib64/libgfx
[==============                         ] 35% Unzipping... emulator/lib64/libgli
[==============                         ] 35% Unzipping... emulator/lib64/libima
[==============                         ] 35% Unzipping... emulator/lib64/liblib
[==============                         ] 35% Unzipping... emulator/lib64/libsha
[==============                         ] 35% Unzipping... emulator/lib64/gles_a
[==============                         ] 36% Unzipping... emulator/lib64/gles_a
[==============                         ] 36% Unzipping... emulator/lib64/gles_m
[==============                         ] 37% Unzipping... emulator/lib64/gles_m
[==============                         ] 37% Unzipping... emulator/lib64/gles_s
[==============                         ] 37% Unzipping... emulator/lib64/qt/bin
[==============                         ] 37% Unzipping... emulator/lib64/qt/lib
[==============                         ] 37% Unzipping... emulator/lib64/qt/plu
[==============                         ] 37% Unzipping... emulator/lib64/qt/res
[==============                         ] 37% Unzipping... emulator/lib64/qt/tra
[==============                         ] 37% Unzipping... emulator/lib64/qt/bin
[===============                        ] 38% Unzipping... emulator/lib64/qt/bin
[===============                        ] 39% Unzipping... emulator/lib64/qt/bin
[===============                        ] 39% Unzipping... emulator/lib64/qt/lib
[===============                        ] 40% Unzipping... emulator/lib64/qt/lib
[================                       ] 40% Unzipping... emulator/lib64/qt/lib
[================                       ] 41% Unzipping... emulator/lib64/qt/lib
[================                       ] 42% Unzipping... emulator/lib64/qt/lib
[================                       ] 42% Unzipping... emulator/lib64/qt/plu
[================                       ] 42% Unzipping... emulator/lib64/qt/res
[=================                      ] 43% Unzipping... emulator/lib64/qt/res
[=================                      ] 43% Unzipping... emulator/lib64/qt/tra
[=================                      ] 43% Unzipping... emulator/lib64/vulkan
[=================                      ] 44% Unzipping... emulator/lib64/vulkan
[=================                      ] 45% Unzipping... emulator/lib64/vulkan
[==================                     ] 45% Unzipping... emulator/lib64/vulkan
[==================                     ] 45% Unzipping... emulator/qemu/windows
[==================                     ] 46% Unzipping... emulator/qemu/windows
[==================                     ] 47% Unzipping... emulator/qemu/windows
[===================                    ] 48% Unzipping... emulator/qemu/windows
[===================                    ] 49% Unzipping... emulator/qemu/windows
[===================                    ] 50% Unzipping... emulator/qemu/windows
[====================                   ] 50% Unzipping... emulator/qemu/windows
[====================                   ] 51% Unzipping... emulator/qemu/windows
[====================                   ] 52% Unzipping... emulator/qemu/windows
[=====================                  ] 53% Unzipping... emulator/qemu/windows
[=====================                  ] 54% Unzipping... emulator/qemu/windows
[=====================                  ] 54% Unzipping... emulator/resources/ma
[=====================                  ] 54% Unzipping... emulator/resources/po
[=====================                  ] 54% Unzipping... emulator/resources/To
[=====================                  ] 55% Unzipping... emulator/resources/To
[=====================                  ] 55% Unzipping... emulator/resources/ma
[=======================================] 100% Unzipping... emulator/resources/m


Output from emulator download 0
Emulator installation was successful.
Processing will install x86 images in the emulator. These images are fast, but also need the Intel Hardware Accelerated Execution Manager (Intel HAXM).<br><br>Processing will try to run the HAXM installer now, which may ask for your administrator password or additional permissions.
HAXM: Intel HAXM installation failed!
HAXM: For more details, please check the installation log: D:\temp\haxm_install-20250728_1834.log
Emulator process exited with status 1.
EmulatorController: Emulator never booted. NOT_RUNNING
Error while starting the emulator. (NOT_RUNNING)
Shutting down any existing adb server... Done.

:(

You are admirably persistent! I gave up on using the emulator with processing on a pc a few years back. In Android Studio on a Mac I’ve never had any problems.

1 Like

I am indeed!

This discussion continued here for current Processing versions:

:)