For Windows, this should be C:\Users\AppData\Local\Android\sdk.For MacOS, this should be under ~/Library/Android/sdk.Once the AVD is initially setup, open your terminal, and find your installation path of Android Studio. I’d suggest you name it something without any spaces in order to run a command later that you’ll need to run. It’s worth noting that we specifically must select a non-Google version, otherwise our future commands will not work (per Google’s restrictions on Google API images).Īfter this step, proceed to name the Android Device. To do this, I selected the x86_64 Android 7.1.1 (non Google API version) image to download and then selected Next. In order to do so, we have to download an older Android image (and one that does not include Google Play Store). ![]() ![]() In my example, I selected Nexus 5, but any device definition of a relatively modern phone should work.Īs mentioned before, the default images that are provided will not allow us to replace the host files. Select Create Virtual Device, then select a device type. This will allow us to change the host file in Android, which requires root (something the default images won’t allow). While the virtual device that was setup out-of-the-box is fine for most operations, we’ll want to setup an older version of the emulator. They include the version of the operating system you use when you boot up the device. You may already have a virtual device setup from the initial setup of Android Studio. These are devices that will be used in order to run an emulator. You’ll see a popup window that will show you the list of virtual devices. Then press the “AVD Manager” in the sub-menu. Then, press “Configure” in the bottom right corner. Once you have Android Studio installed, we’ll need to setup an emulator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |