Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
How to run on emulator #1
I found this repo after long research to find a baremetal example for smartphones having
I've been trying to run
I've changed the compiler in the
You can see the AVD that I use below:
And this is the command I use to start the emulator with
I'd be appreciated if you can help me run this on emulator
I am adding the output after the start of QEMU main loop
@onatm I'm guessing the error is in the "error while loading state" bit? I haven't touched this code for years, so maybe Android Emulator's recent save state/fast boot support broke things.
I don't have access to my Mac right now, and Android Studio on my Windows machine is really old (probably predates the snapshots changes?), so it might take me a while to test this.
In the meantime, there are many baremetal Raspberry Pi tutorials available, and the Raspberry Pi 2 and 3 can be emulated by QEMU, so if you need to test baremetal code, that's an alternative option. There's also tutorials for the ARM Vexpress/RealView board, which can also be emulated by QEMU. So you don't have to test with Android Emulator.
Edit: on my copy of Android Studio/Android SDK (22.214.171.124), running
Try adding that option? If that option doesn't help, try some of the other snapshot-disabling options.