Not This Exit Again! 10/100 Days of Code
New laptop, same old exit errors. Android Studio is a trip, or so I thought.
I set up Android Studio on my new laptop today. It’s exciting setting up a new computer! In order to test the emulation on this new computer. I made a simple Hello World app, created an Android Virtual Device, and attempted to run the app.
The Gradle build finished with no errors, and then I saw the ugly red text in the console window…
x86 emulation currently requires hardware acceleration!
Emulator: Process finished with exit code 1
Hardware Acceleration. Reading this reminded me machines with Intel processors require a specific configuration in their BIOS before emulating Android devices. I restarted my laptop, entered the BIOS, (set a password), and toggled the Virtualization Technology.
When I booted and ran my app again, and everything looked normal as can be.
The moral of the story is, always set an administrator password on your computer, and don’t forget to turn on Virtual Technology before emulating Android devices. And most important of all, Adult Swim bumps are the best!
-CF