I 'm very mad with the Emulator because it 's very very slow. And I 'm using a laptop which have no strong hardwares. It took me more than 1 minute to run an application. Some of solutions to make the Emulator faster is ineffective for me. So, i searched some solutions without using the default emulator of android-sdk. And now i'm very happy with a new Android Virtual Machine (AVM).
Solution?
- Install Android OS in some virtual machine software (VMWare, VirtualBox, ...). Note that your Android has a root permission to open the connection by "adb connect" via port 5555.
- Check the AVM IPAddress, and open cmd (command prompt) in android-sdk/platform-tool folder:
> adb connect 192.168.111.100 (your AVM IP)
If success, you can check devices by command:
> adb devices
- And use your IDE to build application with the target is a new AVM.
Tip: You can download the AVM (VirtualBox) here: androvm.org/blog/download/
Why using AVM?
- It run faster than the Emulator, of course.
- Make snapshot or suspend AVM, decrease time when starting.
- Easy change the resolution or density of device.
- Easy change the size of screen of AVM by mouse.
etc...
Categories
- Tutorials ( 11 )
- Code snippets ( 9 )
- Other tips and tricks ( 5 )
About Me
- monopoly
-
monopoly.vn@gmail.com
Follow me on Twitter