We don't recommend using Android Studio for developing Ionic apps. Instead, it should only really be used to build and run your apps for the native Android platform and to manage the Android SDK and virtual devices. Installing Android Studio âÂÂÃÂownload Android Studio from the Android website. More detailed installation instructions can be found in the User Guide. The IDE should detect that the Android SDK needs to be installed. ![]() In the SDK Components Setup screen, finish installing the SDK. Keep note of the Android SDK Location.ëy default, the latest stable SDK Platform is installed, which includes a collection of packages required to target that version of Android. To install system images and other minor SDK platform packages, you may need to ensure Show Package Details is checked at the bottom of the SDK Manager.ïor future reference, the Android SDK can be managed with Android Studio in the Configure û SDK Manager menu of the Android Studio welcome screen or Tools û SDK Manager inside Android projects. The Android SDK ships with useful command-line tools. Before they can be used, some environment variables must be set. Go to Android SDK and navigate to the SDK Tools Only section. ![]() In ~/.bashrc, ~/.bash_profile, or similar shell startup scripts, make the following modifications: For Windows, check the documentation on setting and persisting environment variables in terminal sessions. Set the ANDROID_SDK_ROOT environment variable. ![]() The following documentation is a quick way to get the Android emulator set up.This path should be the Android SDK Location used in the previous section.ïor apksigner and zipalign, $ANDROID_SDK_ROOT/build-tools must also be added to PATH.êndroid Virtual Devices (AVDs) are blueprints that the Android emulator uses to run the Android OS. For more detailed instructions and information, see the Android documentation.êVDs are managed with the AVD Manager. ![]() In the Android Studio welcome screen, click Configure û AVD Manager. The AVD Manager can also be opened inside Android projects in the Tools û AVD Manager menu.ìlick Create Virtual Device and select a suitable device definition. If unsure, choose Pie (API 28) with Google Play services.
0 Comments
Leave a Reply. |