Android mini project topics

From Yoga Asanas
Jump to: navigation, search

How to Install, android projects 2019 and Use Android Emulator for Mac, Linux and Windows without installing Android Studio
Step 3: Install platform and build tools required for React Native.
Now we can go ahead and set-up platform and build tools to help us in creating and running our virtual device in android emulator.

To do this, open your terminal and run the following command :

sdkmanager "platforms;android-23" "build-tools;23.0.1" "add-ons;addon-google_apis-google-23"

Once we have downloaded the above packages, run the following command to list all the tools available :

sdkmanager --list

This will fetch the complete list of the available packages on remote that you can download to your system. You can download packages from the list by running :

sdkmanager "sdk-path-for-package"

Note: sdk-path is the string in the leftmost column of the generated list. And it must be wrapped in quotes while running the above command. For example, let’s say we want to create a virtual device which requires Google APIs Intel x86 Atom System Image package, we can install the package by running :

sdkmanager "system-images;android-23;google_apis;x86"

You can download the packages that you need from the list and if you look closely, you’ll find android emulator package there too! But don’t worry I won’t make you go through the long list in your terminal, here’s the command you need to run in order to download the android emulator package :

sdkmanager "emulator"

That’s it! We’ve downloaded the android emulator and we’re ready to set-up our Android virtual device!