Creating Galaxy S4 emulator

2020-02-22 04:37发布

问题:

I am trying to run my app specifically on Galaxy S4. But I do not have the real time device. So, I'm trying to create the emulator for Galaxy S4. I have a normal Core I3 system with 4GB RAM. It doesn't have any graphics card and all.

I am finding the ways for installing the Samsung Galaxy S4 add-ons to my sdk. But I am not getting it.

I referred these links,

Android Galaxy S4 Emulator Not Opening

How to test android app in Galaxy S4 configuration using emulator?

http://developer.samsung.com/android/technical-docs/Using-Samsung-Emulators-for-Android-Application-Development

http://developer.samsung.com/board/list.do?ctgy1=1&ctgy2=1&menu=EN01010301&srchYn=Y&pageIndex=1&pageSize=10&search=

However, I am unable to get any results with these.

Then I referred this alternative for Galaxy S4 i.e., installing Sony add-on for Xperia Z which has the same config as S4. And I am able to create a Xperia Z avd. I have checked "Use Host GPU" option also. But still, the screen appears to be totally black.

http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/

So can any body tell me how to install S4 add on so that I can create an emulator for it.

Update:

RAM Allocated: 256MB
HeapSize: 64
And I have modified the screen size to 4.0 inches to adjust to my system.

回答1:

This is how I created my S4 emulator and working perfectly.

Go to "Android VirtualDevice Manager" -> Device Manager -> New Device and fill in like this:

Or follow this tutorial:

http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/



回答2:

You can check Samsung RTL. It will be very useful for testing. Just create a new credential and use any of available devices.



回答3:

Try using Genymotion. It provides a built-in image for Galaxy S4/HTC One/Xperia Z (running Android 4.2.2). While it does not emulate any S4 specific software, it does provide a pretty good hardware match.



回答4:

I am on mac-OSX and setting "Use Host GPU" solved the problem