Type the line below and this will show a list of devices, choose one, and copy its ID. sdkmanager -licenses Creating the Emulator sdkmanager "system-images android-29 google_apis x86_64" Type the following lines in your terminal. Set SDK_Manager Path sdkmanager -sdk_root=$ tools If you want Android 11 just put android-30, and for the older ones, you can downgrade the number. The android-29 means we are getting Android 10 in our emulator. Note: If you did not move your Android folder to the home directory, substitute the first line with the path to where you move it.Įxport PATH=$ANDROID/platform-tools:$PATH.Make sure you don’t put extra spaces and then save your file. At the end of the file, type, or copy these few lines.This file will keep your environment variables. Go to your home directory and open the file.We’re going to move the Android folder to another directory.
0 Comments
Leave a Reply. |