I'm following an android development course on Udemy. As I have an AMD processor, I have to run an emulator with ARM image. I'm running a nexus 5 emulator that way. It is super slow but it is working.
However, I can't drag or edit anything in real time on the emulator. The instructor video has him dragging the text box, changing the size and style of the text etc in real time. I can't do that on the emulator.
Is there a work around this or am I missing something?
I'd like to be able to do this http://imgur.com/a/sQD6N
At this moment emulator is no different from testing on a physical device, I do have an android phone.
Thank you for your help
Related
I've been programming in android studio for a little while now and recently it's been very messed up. It all started when I changed the theme for my app. The emulator stopped working and I tried uninstalling and reinstalling. Nothing worked and I ended up factory resetting my laptop. I reinstalled android studio and still have the same problem. I've reinstalled HAXM and I've also tried testing on my phone. I run the program and the emulator shows up and it shows the title bar with the name of my app, but no content, just a white screen.
Here is a link to the pastebin of the log.
Here is what the app looks like in the design view.
Just take out the picture of the duck and that's what it looks like in the emulator
This used to work perfectly before I changed the theme, but I reset my computer so i'm totally lost. I'm running on an HP Pavillion 15 laptop with a core i5 and 8 gigs ram with integrated graphics.
Any help is very much appreciated!
Thank you for your time
-Kelton
I made an android project in android studio & test it in real device it works fine but now i have not real device with me & want to run the project in Emulator. I install the AVD & intelhaxm-android.exe from the directory
C:\Users\INZI\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager
after that I created Virtual Device to test the app but when I run this it shows black screen with android printed in the centre of the device but does not show the home screen. I tried it with the
Visualization technology Enabled in BIOS setting. what should I do now I waited about more than a half of the hour but its same.
Please help
Thank you in advance
I resolved the mentioned problem Emulator was not showing the home screen because
I have more size of virtual Device than Haxm
I haven't completely downloaded the API with which I was testing.
Now I set less size of Virtual Device & test the app with the lower API that I fully downloaded .... now its working fine.
If I were you, I would try Genymotion which is a much smoother emulator than the default. Furthermore, you will not run into any problems while setting it up as the program handles everything for you. Of course, as you become more experienced, you will want to debug your apps on a real device but as you do not have access to one, Genymotion is your best option.
When I open the android emulator, it stays on a black screen.
The app I'm testing is small and basic.
I have the arm* type downloaded, and I set it to 300 RAM, but still nothing.
Emulator have many issue if you want good & fast emulator then uses genymotion Download from link https://www.genymotion.com/#!/. you will get different type of device and fast devices then emulator.
I just started using genymotion and I really like it.
One thing that is frustrating me is that emulators take a lot of screen space and are contained within scrolling window.. which makes it less convenient to use
I tried to change screen resolution or look for some kind of option myself but with no luck
is there "scale to real device size" option like in sdk emulator?
UPDATE
when I start genymotion binary, get the following in the console
~/coding/genymotion$ sudo ./genymotion
Genymotion log file: /home/u238/.Genymobile/genymotion.log
Player log file: /home/u238/.Genymobile/genymotion-player.log
OpenGL connected to 192.168.56.101:25000
Port 22468 will be used for OpenGL data connections
The emulator shows up for about 5 sec.. black screen with white ui buttons on the right.. and then it disapears from screen
UPDATE
[facepalm] to solve the vanishing emulator just install graphic drivers supporting opengl 2
GenyMotion Virtual Device opens and disappears immediately
Ok I get it.
You're not running the Genymotion player but Virtual Box. Try to run the genymotion binary (the one where you downloaded the templates) and to launch your VMs from it directly. It brings a lot of improvements.
I a few days i will get a new Samsumg Galaxy SII and now i want to try developing apps for Android, so i installed eclipse and the ADT however the emulator seems to be painfully slow so i found a workaround: installing the generic x86 version in Oracle VirtualBox and connect it via adb connect <ip> to eclipse and it works extremely well.
However i am running in a "high res" version or something like that and i would like to scale it down to some more common resolution to imitate the resolution of smartphones like my Galaxy. Is anyone familiar with this customization?
I'm not sure how one can control the resolution at install. However, you if you run it live from the disk, you can highlight VESA mode. Then,
If you want to use higher resolution, you can edit the boot option by
pressing TAB, change vga=788 (800x600) to vga=791 (1024x768) or
vga=794 (1280x1024), and press Enter. You can also use vga=ask to see
all available modes. But please note Android will only work under
16-bit mode.
http://www.android-x86.org/documents/virtualboxhowto
For 800x480, you'll want video mode 375.
I've tested on 2.2 and 2.3: "android-x86-2.3-RC1-asus_laptop.iso" and http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso&can=2&q= and i can get that video mode to work fine. After entering vga=ask, hit enter to see all the modes, then enter 375.