Android virtual device on your PC | The emulator on the computer devices running Android



Rep: (3542)
Android Virtual Device


Attached Image


Installation

Android SDK / AVD Manager startup method

Video instruction

Windows 8.1:here

Windows 7 / etc.
1. Download JDK desired bitfrom here. How to determine the capacity of the system?
2. Install. Remove an unnecessary NetBeans 8.1 shortcut from a slave. the table.
3. Download Android Studio fromoff the site. Specify the path for Android Studio and Android SDK. For example such for Android Studio (do not forget, instead of<Username>Write your name): C: \ Users \<Username>\ AppData \ Local \ Android \ Android_Studio And Android_SDK: C: \ Users \<Username>\ AppData \ Local \ Android \ Android_SDK
4. After installing the Wizard of Android Studio, it will launch the Android Studio installer itself. Install.
5. Now click RMB on "My Computer" and select "Properties". On the "Advanced" tab, click on "Environment Variables", in the "System Variables" section, select the "Path" line and click the "Change" button. Add to the end of the line the full path to the platform-tools / directory, pre-separating it with a semicolon ";" For example:
; C: \ Users \ admin1 \ AppData \ Local \ Android \ Android_SDK \ platform-tools

6. Go to the Android_SDK folder and launch the SDK Manager. It is recommended to select everything in the list.
7. Click Install 101 packages
8. A list will appear with checkmarks and crosses. Click on the top and on the right choose Accept. Install. We wait.
9. Run AVD Manager and voila!
Creating a device
Attached Image

1. Click the Create button ...
2. In the upper field we write the name of the virtual device without spaces.
3. Choose a device that we want to emulate.
4. Select the version of Android. Personally, from my experience I recommend 4.4.2.
5. Select the processor. Better ARM.
6. Keyboard left as is.
7. Choose Skin: Skin with dynamic hardware controls
8. Select the RAM. I recommend to dial 2048. Leave the right margin as is.
9. Internal Storage - Internal memory. Give value. Better to put 500.
10. Select the size of the SD card. I recommend 500.
11. Emulation Options: Select Use Host GPU.
12. Click OK and wait.
13. In the list, select your device and click Start.
What should happen. Android 2.0 Sample
Attached Image
Error solving
AT - Question
ABOUT - Answer
P - Cause
AT: emulator: ERROR: no search paths found in this AVD's configuration.
Weird, the AVD's config.ini file is malformed. Try re-creating it.
P: Cyrillic is on the way.
ABOUT:
Ebb @ 01/01/2011, 03:52 *
On the way “c: \ Documents and Settings \ USERNAME \ .android \ avd \” there is a file “YOUR VIRTUAL.INI NAME”. Open notepad and edit the path. In your opinion, it will look something like, “c: \ Documents and Settings \ ABRECTS \ .android \ avd \ name emul.avd”. Replace “ABRACADABLEWOOD” with your username and save.
This is all tested on WinXP.
If it fails, try this method.
Oleg V @ 04/28/2012, 12:38*
Therefore, without thinking twice, I just made a normal command line and launched it from the folder of the receiver, where I had previously moved .android and recorded junction.exe
junction.exe "C: \ Documents and Settings \ username \ .android" "C: \ my way to where \ .android" and everything is linked
After creating a new image, you need to edit the image source, change the path in it from C: \ Documents and Settings \ username \ .android ...... to C: \ my path to where \ .android .....
Archive itselfhere.
AT: adb is not an internal or external command, executable program or batch file
P: You did not add adb to the system variables, or you specified an incorrect path to the adb file there.
Old method - via command line
Now we need to create our AVD (Android Virtual Devace), to put it simply, we create our virtual device.
Go to Start ->Run ->type cmd and click OK

At the command line, write android create avd -n<name>-t<targetID>
<name>- this is the name of our device (for example, HTC)
<targetID>- if we set the value to 1, then our device will have Android 1.1; if we set the value to 2, then our device will have Android 1.5

Also, when creating AVD, you can specify other parameters for our future device in the form -<option><value>where<option>is a parameter, and<value>- value. The list of parameters can be found here.

Attached Image

After creating AVD, we can change the iron characteristics of our virtual device. To do this, go to the directory where our virtual device is located, by default C: \ Documents and Settings \ username \ .android \ on Windows XP, and C: \ Users \ username \ .android \ on Windows Vista. In the file config.ini we add what we want to change, the list of parameters here

You can delete a virtual device by typing in the command line android delete avd -n<name>

Approximate AVD launch algorithm with 9 android in pictures

Virtual device launch
To launch the virtual device created by us, go to the command line. There we type emulator -avd<avd_name>where<avd_name>- the name of our device.

Also at startup, you can specify various parameters, the listhere.

Attached Image
Installing / reinstalling applications
To install applications on our virtual device, in the command line we write adb install your_application.apk, where your_application.apk is the path to the application you want to install.
After that, it will appear in your device.
To reinstall, write adb install -r your_application.apk

Attached Image
Images
Devices
Alternatives
Backup your programs to a separate system.img

Discussion and comparison of different emulators is conducted inspecial topic

Thanks for rebranding hatsGoogle 61


Post has been editedKenas - 29.08.18, 18:15
Reason for editing: Approximate algorithm for launching AVD with 9 android in pictures



Rep: (5173)
* 8 BIT: /,
You decide what you need. If you need to clone applications within a single emulator, then there are all sorts of virtual spaces.
You can also clone the emulators themselves and build the same application in each clone.
If you need to backup data in case of a device breakdown, you can backup data and applications via Titanium backup.

MIUI on the emulator can not be. Is that someone ported MIUI to android x86. In this case, this port can be put in a virtual machine or on a computer, as the second system.
Manage Android in a virtual machine, you will not be pleased, especially if you need to play games.



Rep: (0)
I apologize if I'm writing off topic. Can I flash the leapdroid emulator?



Rep: (5173)
* Skido No, so that does not mean.



Rep: (0)
Enyby @ 03.11.18, 23:39*
Skido, no, so that does not mean.


oh, early Google took them to him :)



Rep: (4)
People, I want and use to buy from the Chinese, creating a new device! I need an emulsion only for ali application. Can I run a real application in the emulator ???



Rep: (6)
Good people, help try to run the firmware. I do this

I create a device with similar parameters as on the phone, I select the same Android in the list as in my firmware,
The SDK downloads, installs and creates a virtual device.
I slip my system.img out of the firmware, repackaged as in the manual above.
I'm running

emulator -avd Doo -system C: \ Users \ User \ .android \ avd \ Doo.avd \ system.img -kernel C: \ Users \ User \ .android \ avd \ Doo.avd \ boot.img-partition-size 1024


And in response, a lot of letters that do not have enough memory.
Can I do something to make my 4 gig operatives on my computer enough for him? Otherwise, I can’t even figure out whether this will work or not. I would like to cut out all unnecessary from the native firmware in advance so as not to restore it again from TWRP

Post has been editedR0nald - 13.12.18, 22:14



Rep: (16)
Tell me, is it possible with this emulator to test different firmware for a smartphone, so as not to flash the smartphone itself every time?



Rep: (5173)
* vitabios , not.



Rep: (907)
Lion-MSK @ 07.12.18, 02:20*
People, I want and use to buy from the Chinese, creating a new device! I need an emulsion only for ali application. Can I run a real application in the emulator ???

I have the same question



Rep: (0)
* 8 BIT: / decided how that question with cloning?



Rep: (124)
Roy7 @ 12.02.19, 21:02*
8 BIT: /, have you decided how is the issue with cloning?

Well, I learned to clone applications on android, all the rules



Rep: (10)
Can you please tell me the Android emulators for Windows so that you can connect to the fitness bracelet via bluetooth by installing the native program in the emulator? Need a version of Android above or equal to 4.4.4. And will there be bluetooth in this Android emulator / virtual_machine for Windows (or how to call it correctly) to communicate with the fitness bracelet.
In a hurry, I did not succeed even to launch the android shell from Oracle VirtualBox to check, only some command line.
And on BlueStacks, the program started, and even tries to search for a bracelet, but the emptiness, as if there is no device or doesn’t work with bluetooth. pulling out the bluetooth receiver itself does not affect the program's attempts to find a bracelet.



Rep: (7)
Enyby @ 01/09/19, 02:55*
vitabios, no.

Vitabios @ 01/08/19, 23:20*
Tell me, is it possible with this emulator to test different firmware for a smartphone, so as not to flash the smartphone itself every time?

Is there such a thing? I really wanted to test the firmware on the virtual machine.



Rep: (5173)
* balbes345 , Android virtual device on your PC (Enyby Post # 81045636)



Rep: (0)
Ladies and gentlemen, please help, where can I get an arbitrary device? Type suppose I need HTC wildfire-s or Redmi 3s or Honor 10, I understand that you can set the same screen extension and wow-la ... but can I download a device somewhere and import it?



Rep: (5173)
* Nelo_001 , not.



Rep: (0)
guys my button is not lit on the installation package ?? what it is ?? : sveta:



Rep: (5173)
* krug.51.ru , protection from screen overlays and overlays. Until you disable them, the button will be inactive.


Full version    

Help     rules

Now: 07/05/19, 15:43