![]() ![]() ![]() ![]() If you want to update all installed packes then type: sdkmanager -update Now you can set the SDK root in LC->Preferencces->Mobile-Support Sdkmanager add-ons addon-google_apis-google-23 Sdkmanager add-ons addon-google_apis-google-15 Sdkmanager extras play_billing (not really needed) Sdkmanager extras intel Hardware_Accelerated_Execution_Manager Sdkmanager extras google market_licensing (not really needed) Sdkmanager extras google google_play_services Sdkmanager ndk-bundle (not really needed) Sdkmanager platforms android-23 (this is android 6.0) ![]() Sdkmanager platforms android-15 (this is the minimum needed Android 4.0.3 for LC) Sdkmanager platform-tools (this one is important else LC won't recoqnize the folder as sdk folder) Sdkmanager system-images android-23 default armeabi-v7a (i changed this from google_apis x86 as it seems lc does not support x86, but i've read that x86 should be used i you are on a x86 platform) So here we do it manual, line by line, it takes a while, so wait until 'Done' is presented after each command: Now i did not test this, because i don't know how it reacts, for some commands you need to confirm with yes. Then in Command Terminal type: sdkmanager -package_file=packages.txt With the command: sdkmanager -list -verbose ,you'll get a whole list of available packages which is not truncated so you can read clear what all is.Īll below commands you can also set in a text file like packages.txt, put the text file in the same install folder. Go to and scroll all the way down and download the command line package for your computer. If you do not add it to your path in Environment settings then you need to go to the folder stated above in CMD (DOS terminal). Lets keep it here as former SDKgui was also installed here and Google Studio does too. Normally in Windows this is c:\users\username\appdata\local\android-sdk\ This is based on windows, but should be similair for Mac and Linux, on Stackoverflow you can find more help on the correct syntax.įirst create a folder c:\users\username\appdata\local\android-sdk\Ģnd add the folder/directory were the sdk will be installed to your Environment (needed for Windows)Ĭlick on start and search on Environment then add the line below to the path. Installing SDK and AVD and start Emulator from Command Line (Without Android Studio)Ī HowTo install Android SDK and AVD and start Emulator from Command Line ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |