Android Studio on Ubuntu 14 - android-studio

I am unable to install android studio on ubuntu 14.
The archive provided here https://developer.android.com/sdk/index.html#Other does not have the entire setup. The readme file says -
The Android SDK archive initially contains only the basic SDK tools. It does
not contain an Android platform or any third-party libraries. In fact, it
doesn't even have all the tools you need to develop an application.
Tried with the procedure described here, but the ppa is not available https://launchpad.net/~paolorotolo/+archive/ubuntu/android-studio.

Android Studio can be found here.
The link you posted points to the Android SDK which is required for Android programming - when you install the Android Studio it'll ask you to provide the Android SDK too.

Related

How to install SDK in android studio?

I once completely deleted Android Studio, but when I want to install it again, during installation, tick of SDK is not checked and it is not installed.
The installation location of SDK cannot be determined, whatever I do
I add ANDOID_HOME in environment variables in windows
I create C:\Android\Sdk SDK but But unfortunately SDK was not installed and
You will probably find the answer to your question here.
(I don't know if this will be your answer.
Because I have never come across such a problem).
I Think SDK is not in your system But you can download SDK from android official site for Android, mac or Linux.
Here is the link : https://developer.android.com/studio/releases/platform-tools
And paste the SDK here : C:\Android\Sdk

Android Emulator Directory is Missing

I have recently come up with coding in dart and using flutter ...
after longtime spending for setting up SDK and stuffs for dart and flutter the only thing I need is an android studio set up and running SDK to it.
I'm actually running on Kali Linux and when I open an android studio I give it the directory file of the Android SDK but it says the folder is empty and there is no SDK (Sth like that ...). But I have downloaded the SDK recently... By the way when i click on next it warns me that the android emulator directory is missing!
Do the emulator or SDK needs a kind of root access !?
is there any way to connect the android SDK to vscode instead of an android studio?
Do android emulator only work on Ubuntu and no response for Debian based ?!
You don't need to download the SDK separately android studio will automatically install it, and you can even choose with version of the SDK you want.
If you haven't gotten that option when installing. Reinstall it form the website!
Not some stupid PPA or app market https://developer.android.com/studio

Download and offline install all android studio components

After I install the android studio which has 900+mb file size, it still ask for additional downloads of components like Android SDK, and Emulator etc. Im just renting in cafe's and download all I need and install in my pc coz I dont have internet in my house.
Is it possible to download these components manually and install manually, so that the android studio will recognize the components and stop askin for additional downloads?
Everytime I open it asks to download below SDK component (Total Downloaf Size : 1.13 GB)
Android Emulator,
Android SDK Build-Tools 28.0.3,
Android SDK Platform 28,
Android SDK. Platform-Tools,
Android SDK Tools,
Android Support Repository,
Google Repository,
SDK Patch Applier v4,
Sources for Android 28
You can download / install those dependencies separately, but you need to find the download link one by one which is quite tedious. Probably delegating Android Studio / SDK Manager to do this for you is the best option.

Google maps does not run on emulator and asks for Google play services update

I use:
Android studio 1.5
Java JDK 1.7
windows 7
Intel HAXM driver
I created a default google map activity with studio and I tried to run with but I get a message to upgrade my google servies.
As I read to documentation of android studio I have to set
compile 'com.google.android.gms:play-services:8.3.0'
on gradle in section dependencies. This was set by default.
I don't think that the problem is on my code but in emulator's configuration.
I strongly believe that the problem start from my android sdk packages but it is not possible to make any mistake. I test the same project in Linux OS that I have install android Dev environment and there is no problem at all. Google maps works.
I installed next packages
From tools:
Android SDK Tools
Android SDK platform-tools
Android SDK Build-tools
From Android 6.0(API 23)
Everything except ARM, Wear and TV packages.
From Extra:
Android Support Repository
Android Support Library
Google Play services
Google Repository
Google USB Driver
Intel x86 Emulator Accelerator(HAXM installer)
Next I create AVD from android studio:
I choose a device definition one from default
Then system image API level 23 with ABI x86 and target Android 6.0 (with Google APIs)
but automatically selects android 6.0 without Google APIs
Your problem may well be the same as mine, see AVD Error - Update Google Play Services. Sorry no solutions but perhaps you are correct that the fault lies with the current packages

Google Glass (Not installed)

I am new to Android Studio and google-Glass.
I am trying to create a knew project that will use google-glass but my problem is when I have to Check/select glass it is Disabled and I do not know how to fix this problem.
See the Image below.
and here is my SDK that shows that i have installed APK 19.
and with the Image below it shows that the glass does appear on Android Studio
can anyone please help me if the is something wrong that i am doing.
will appreciate your Help.
In my case, I needed to make sure I also installed the latest Android SDK Tools, Android SDK Platform-tools, and Android SDK Build-tools. Lastly, also install Android SDK Build-tools rev. 20. All four of these are under "Tools" in the SDK Manager.
Downloading the above allowed me to create a new Glass project.
Also try:
Go to File -> Project Structure -> SDK Location. Make sure it is the correct SDK directory.
I installed the GDK with version 1.3.2 but, even checking the correct path of the SDK and GDK, the initial wizard for starting a new project didn't recognize it (still was saying "Glass (not installed)").
I had then to uninstall the current version of Android Studio and delete the SDK; I installed version 1.1 and downloaded again the SDK and GDK and then it works.

Resources