This question already has answers here:
Android : How to Create Android Emulator for Nexus10?
(6 answers)
Closed 10 years ago.
I am trying to create the Android emulator for Nexus 10 using latest ADT (21) and SDK tools. I have the below configurations for Nexus 10 AVD.
Screen Size - 10 inches
Resolution - 2560 X 1600
Screen Size - xlarge
Screen Density - Xhdpi
Screen ratio - long
RAM - 512 (Not able to set 1024 emulator crash)
But once AVD is created, it does not load Android; it just shows a black screen. My system is 32 bit Intel Core i3 with 4 GB RAM.
The problem is with monitor, LCD (or any other display device you are using) or graphic card.
Nexus 10 has gigantic screen density, how could it be displayed or replicated on a lower screen density screen.
Edit on proposal of
Krishnabhadra
To get it working you must match your screen resolution with the scale-down resolution of the emulator. Before running an emulator a dialog-window appears in which its ask the user to set emulator screen size and pixel ratio (screen density scaled to the display device). Make sure you select the current screen resolution.
Related
I have created an app that works on 10.1 inch tablet. Later I get a 7 inch one and that need some change to adjust for font size ( font as big as in a big screen and also a smaller screen). Now I get a RedMi note phone that is 5.5 inch. The app looks badly and needs big change of the UI screen. What are the best way to adjust for such changes in screen size and resolution?
Also, how should I create an emulator that meet the real device resolution and screen size? How should I pick when there are no one nexus device that match it completely?
Thanks
Please consider the layout, layout-large, layout-xlarge for making all screen compatibility application.
For example,
layout - Mobile screen
layout-large - Tablet below 7 inch
large-xlarge - Tablet above 7 inch
refer this link for more details http://developer.android.com/guide/practices/screens_support.html
For creating the new emulator device, Goto eclipse and
Window->Android virtual device manager->Device defination(tab)->Select device->Create device-> restart the eclipse
The you can see the created device.
I was wondering what the resource configuration of Nexus 9 would be? Would it be sw720dp like the Nexus 10?
GSMArena says it's 1536 x 2048 pixels, 8.9 inches (~281 ppi pixel density), so I'm guessing it would be xhdpi and the width in dp would therefore be 768, so should fall under sw720dp. However, I'm not sure and would like to confirm with better informed people out there.
Also, is it a device which looks like it'd be used in landscape more than portrait? Currently for sw720dp, the default orientation for one of the screens in my app is landscape and was wondering if it would be best for Nexus 9 also.
According to the Getting Your Apps Ready for Nexus 6 and Nexus 9 post on the Android Developers Blog, the Nexus 9 has:
(...) a screen size of 2048 x 1536 pixels (288 ppi), which translates
to 1024 x 768 dip. This is a 4:3 aspect ratio, which is unique
compared to earlier tablets. The Nexus 9 falls into the xhdpi density
bucket, and you should already have assets in the drawable-xhdpi
folder.
So, yes sw720dp would seem to be correct.
About orientations, it says:
It’s very important that you don’t lock your app to a single
orientation. The Nexus 9’s natural orientation is portrait mode, while
it’s used in landscape mode with the keyboard.
According to this:
http://developer.android.com/tools/revisions/platforms.html
the Nexus 9 should be in the AVD device definitions (API21 5.0). However I am not seeing it. I do see Nexus 5 (not sure which API that came in).
Here it is. Nexus 9 Screen Information
This question already has answers here:
Android : How to Create Android Emulator for Nexus10?
(6 answers)
Closed 9 years ago.
I know this question is a duplicate to the following,
Android : How to Create Android Emulator for Nexus10?
Nexux 10 emulator/avd not running/starting
I have set the below configuration,
Screen Size - 10 inches
Resolution - 2560 X 1600
Screen Size - xlarge
Screen Density - Xhdpi
Screen ratio - long
My system configuration is,
Intel Core i3 processor
4GB Ram
Windows 7(32 bit)
Monitor resolution-1366*768
I had tried those answers and set accordingly but no luck.Even I scaled down the screen size .AVD runs and shows "Emulator not responding " message and then I was forced to close the AVD.
Can't I run Nexus 10 AVD for the above configuration system? Any help and guidance will be highly appreciated.
I am not sure about this message - "Emulator not responding" ,
but you can try new Genymotion Android Emulator, have a look at it , it is faster and you can resize it.
Below configuration is available in list of virtual devices.
WXGA 10.1" Tablet - 4.2.2 API 17 - 1280*800 Genymotion Virtual Device - 160dpi (MDPI)
you can change the screen density after creation of Virtual Device
FYI : Genymotion Android Emulator is an alternate way to Google Android Emulator.
To make the Nexus 10 AVD work, you need to set the AVD memory to something higher, try 512mb.
if you didn't depend on ARM CPU, try genymotion.
I am trying to create the android emulator for Nexus 10 using latest ADT(21) and SDK tools. I have the following configuration for the Nexus 10 AVD:
Screen Size - 10 inches
Resolution - 2560 X 1600
Screen Size - xlarge Screen Density - Xhdpi
Screen ratio - long
RAM - 1024
Let me know if this configuration is wrong. After creating the above Configuration I was able to create the AVD but couldn't load it. It only shows a black screen. What could be the problem here?
I am Using Ubuntu 11.10.
I had the same issue. You can do one thing,
1) When you create AVD, make sure Use Host GPU option is checked.
It worked for me, in my Mac OS X Mountain Lion 10.8.2, and eclipse juno.
EDIT : Sorry folks for the confusion. There is no Google Nexus 10 skin (at the time of writing this). What you see in the image is a Nexus 10 equalant I created using Device Definition (AVD manager 2nd tab) feature of eclipse. It is just I named it as Nexus 10 and it is not default google emulator.
I think the monitor resolution is more important than the hardware of your computer. I have a PC i7 & 16GB RAM under Windows 7, with two DELL monitor 1920x1080 and it is imposible to run Nexus 10 emulator. This computer runs Nexus 7 emulator perfectly.
But my less powerfull iMac i5 & 8 GB RAM under OSX Mountain Lion, runs perfectly Nexus 10 AVD.
I have tried with/without use host gpu option, and only work when it is checked.
I have tried to emulate other devices like Samsung Galaxy S4 and it happens the same!
By the way, it is recomended to specify low value RAM and SD Card values for performance (512MB & 16-96MB).
I had the same issue (have, actually). It is quite simple, the resolution and the screen density are just too high for your monitor (on that screen size), so it cannot display it. - I am sure your emulator runs perfectly on other configurations
This is the correct configuration for an Nexus 10 Android Virtual Device:
Your screensize and density was wrong.
Screen Size - 10.1 inches Resolution - 2560x1600
Size - xlarge Density - xxhdpi
Screen Ratio - long RAM - 2048 MiB
One more way is to use new
Genymotion Android Emulator
It is available for Ubuntu also , have a look at my post for other info related to it.
With IntelliJ you need to open tools - android - AVD manager and then when you add a new AVD try ensuring that your CPU/ABI is set to ARM(armeabi) Had some trouble before like this and it was down to this setting.
Hope this helps!
I would like to set up android emulator which will be simulate the device google nexus 7. It has got 7 inches display and resolution 1280x800.
What the number is properly value for monitor dpi? Is this value equivalent of abstracted LCD density in the hardware part?
Here is a answer for others with similar obscurities about properly settings of a display in android emulator.
So I set abstracted LCD density to value 213. It is the default value of Nexus 7. Because of this value nexus is not able shows full tablet mode. This value is specific for every device.
Next I set resolution to 1280x800 and save it. Then I click on start emulator and set next values about monitor.
I use 15.4 inches monitor with resolution 1680x1050 px. Firstly I set screen size of tablet (7 inches) and then monitor dpi. When you click on the question mark, it will show you new window with the screen size and resolution. These values are values of your pc monitor. When you fill these values, it compute your monitor dpi. For me it is 129. And finally I start emulator.