Android Studio - Manually install dependencies - android

I've dowloaded and installed Android Studio (in Ubuntu). During the setup, it started downloading many other dependencies. My internet is slow and Android Studio cannot download 2 large packages ( Android Support Repository & Android SDK Tools 25.2.2 ), downloads fail after a while.
I can manually download these packages from web browser, but how do I install them?
Links: https://dl.google.com/android/repository/android_m2repository_r39.zip & https://dl.google.com/android/repository/tools_r25.2.2-linux.zip

First, you need to find your sdk location, such as "/opt/android-sdk-linux" in my computer. The repository should be moved into extras and Android SDK Tools 25.2.2 should be moved into buil-tools directory, hope it will work for you.

Related

How do I configure Android SDKs for Android Studio 3.2.1?

I downloaded the latest version (3.2.1) of Android Studio from the Android Developers site.
After installing the application, it won't start. I get an error message when clicking on "Start a new Android Studio project":
Your Android SDK is missing, out of date or corrupted.
I read an outdated post dealing with the same issue but an older version of the application. I followed the solution described there and got stuck after navigating to Configure > Project Defaults > Project Structure. This is the window I see right now:
I can't find the SDK. Where is it located? Does it not get installed together with the app? If so, where can I download it from?
I can't find the SDK. Where is it located? Does it not get installed
together with the app? If so, where can I download it from?
That depends on how you installed the Android Studio. With the SDK packages (called bundle) or you have installed it separately which doesn't have SDK packages.
Where is it located
It's mostly uses:
C:\Users\<username>\AppData\Local\Android\Sdk
Directory on windows if you install SDK Manager, it will be easy to figured out.
where can I download it from
After installing Android SDK Manager, you'll need to download some packages like;
Platform-tools
Build-tools
Support library
And etc
To be able to compile-use Android Studio which is a general question and use Google for that.

SDK is not proposed to install while installing Android Studio

When I am installing Android studio (the latest version that's available at the official website), there isn’t SDK among components to be installed.
So, I install what is available, run Android studio, and I am asked to install the SDK anyway. I download the SDK from the official site, unzip it. In Android Studio I choose the unzipped folder as the SDK location, but the app still can’t find the SDK there.
What did I do wrong? Are there other options to solve this?
Thank you in advance!

Android studio is not properly installed

extra android m2 repository,extra google m2 repository and 2 more sdk components were not installed.
This message was displaying after the installation of Android studio.
Some components as Android sdk manager and AVD are not working properly.
Please guide me how to fix the problem.
Try to open Android SDK Manager and Select Android SDK Tools and Android SDK Platform-tools and update and then restart Android SDK Manager you will find Extras now install Android Support Repository inside Extras.If this doesn't help i guess you have to Re-install the software while reinstalling keep your internet connection on it may download packages and files form internet.
See to it that you have downloaded Android SDK properly without any issue.
I hope this answer helps..

Install android sdk in eclipse without downloading full os

I would like to install the SDK for several android platforms on my chromebook using Ubuntu with crouton when I get it. The problem is that the chromebook I might get only has 16gb minus the OS. Installing the android SDK to eclipse also seems to install the whole emulator as well and it takes up A LOT of storage. Last time I did it I install 3 SDKs and the total space was almost 10gb.
Is there a way to install just the bare essentials for android development?
I don't want to run an emulator since I have several devices at my disposal and the chromebook won't be able to handle it anyway. Thanks! :)
Assuming you already have a JDK installed, the bare minimum you need for Android development is the standalone SDK, the platform tools, and at least one version of the Android platform. All of that takes up less than 1/2gb.
You can get the standalone SDK from here. Scroll down to the bottom and it's under Other Download Options / SDK Tools only. Once you have that downloaded and unzipped somewhere, go into the android-sdk-linux/tools directory and run the android command there. It will popup the Android SDK manager. Uncheck everything except for the following and click install:
Tools
Android SDK Platform-tools
Android SDK Build-tools
Android 5.1.1. (API 22) // or different version
SDK Platform
Google APIs
Extras
Android Support Library
other packages if your app needs them
You can find more information about how to use the standalone SDK for setting up your project and whatnot here.

How to "download" Android Studio IDE without the SDK?

I already have Android SDK latest edition and Eclipse installed. But I want to try Android Studio as well.
I have seen this and this post, but those solutions change the instance of SDK Android Studio (once downloaded and installed) uses. What I want is not to download another SDK when I already have it installed on my machine.
The problem is that the download package given here includes SDK as well.
So can I download Android Studio IDE without the SDK, and then give the path to the SDK I already have during installation?
All the answers suggest to download it with an SDK and then delete it.
You can however download the AStudio w/o the SDK from Android Tools Project Site.
The latest build (2.0 Preview 4) can be downloaded here.
Note: The newest version also requires the SDK to be outside the application folder!
Well now Google offers a "No Android SDK" version of Android Studio in its official Download portal:
It is an old question but it might help someone like me who is looking for an answer. This instructions are for windows 64 bit systems.
Download zip of Android studio without SDK using links given in other answers (e.g. I downloaded android-studio-ide-141.2112779-windows.zip - version 1.3.0.9)
Unzip the archive and run bin/studio64.exe
When it asks for the path to install the SDK, browse your existing SDK location instead of the default path given.
If it detects valid installation of SDK, it will display a message that only missing or old component will be downloaded.
I hope it helps.
You can find it here (http://developer.android.com/sdk/index.html#Other) in the "Other Download Options" section. There is many different version of Android SDK and Android Studio, including Android Studio without bundled SDK tools.
You can download it with SDK, then change it to yours ( here is explained ) and then delete it
Download Android Studio as is.
Go to it's location and delete the SDK (optional).
At your project open "project structure" and set SDK locations to your Eclipse's SDK.
or just copy your Eclispse sdk to android studio SDK.

Categories

Resources