I am new to android application development.I am using android studio 1.5, Android 6 in windows 7 but I faced several problems:
1) SDK manager and AVD manager do not open from the dropdown list from tools>android> SDK manager/AVD manager. it only open from the sdk folder outside android studio.
2)while openning the SDK manager from sdk folder getting error like:
failed to fetch URL http://dl.google.com/android/repository/addons_list-2.xml reason:unknown Host dl.google.com android
3)There are No CPU/ABI system image installed for this target. I searched and found that I must installed this from SDK manager but when I open SDK manager didn't find the package.
Related
I want to run my app in Android Studio. But I can't create virtual device. I see this massage:
"No System image available. Are you connected to the internet?"
And I'm connecting to the internet.
Problem is from my Android SDK Manager. It should be like this:
android sdk manager
But for me is like this:
I should install Android SDK Platform_tools but there is not in list.How can I solve this problem?
You are using from an old version of Android Studio and It is a feature that gone deprecated in version 2.3! (Standalone SDK Manager)
Download latest version from here
and use Preferences > Android Sdk to download Sdk and platform-tools etc.
I'm unable to open the Android SDK Manager using the android command on terminal.
I am following https://facebook.github.io/react-native/docs/getting-started.html
And I download and installed Android Studio and Installed HAXM and AVD with the given steps.
Now I need to
Install the Android 6.0 (Marshmallow) SDK
However, I am not seeing the same screen as the documentation when accessing the SDK manager via Android studio.
"The SDK Manager can also be found within the Android Studio "Preferences" menu, under Appearance & Behavior → System Settings → Android SDK."
So I am using the Android command on terminal to open the SDK Manager; however, I'm receiving the following error.
/usr/local/bin/android: line 3: /usr/local/Cellar/android-sdk/24.3.4/tools/android: No such file or directory
/usr/local/bin/android: line 3: exec: /usr/local/Cellar/android-sdk/24.3.4/tools/android: cannot execute: No such file or directory
I'm curious as to why is this happening. How can it be resolved?
insure that show Package Details is selected in every screen
Today, I decided to try Android Studio. When opening AVD Manager from the Tools > Android > AVD Manager menu on Android Studio, the list shows that the AVD named DroidBox fails because of "Unknown target android-16". I created that Virtual Device back when I used Eclipse for Android programming.
I have android-16 downloaded on my system (I know the path to the dir, and it has worked before), but apparently the location isn't being seen.
How can I tell AVD Manager where to find the directory?
you can set the path for same sdk that you were using with Eclipse. Just follow these steps:
File-> Project Structure->Android SDK location.
Under Android SDK location, browse for you sdk that you are using with eclipse. Yoy may need to re-start Android Studio to take effect! i m using A.S 0.8.6!
Even I had faced the same problem. Tools -> AVD Manager -> Create Virtual Device just adds the Virtual device. Underlying SDK (=~ Android OS selected while creating the Virtual device) should be separately installed.SDK can be installed from Tools -> SDK Manager.
Android Studio looks for different directories than Eclipse. From Android Studio, run the SDK Manager and verify that marks API 16 as installed. If not just install it and that should work
I download ADT from this link http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20131030.zip
then installed it and when run eclipse/Android sdk Manager, a process doing on it but later I getting a message :
Failed to run the Android sdk manager.check the android Console view for details.
On Windows in sdk folder , a .exe file is available for run Android SDK manager but for Ubuntu is not Available.
Download Android SDK manager for Linux. Install ddms plugin to your eclipse. Map your Android SDK platform-tools(adb) to your Android properties[ Click on Window preferences and choose Android].
I have just installed Android SDK on my Ubuntu Device following this example:
http://www.liberiangeek.net/2012/07/download-and-install-androidsdk-in-ubuntu-12-04-precise-pangolin/
The example is for Android SDK version r20, but I set the version to r21 because that is the newest version. I had no problems there.
I updated the SDK and downloaded all the platforms I need to develop my apps.
But at the end of the example, it says to enter android in the terminal, and that command should open both the SDK manager and the AVD manager.
However, it only opens the SDK manager, and I can't seem to find out how to open the AVD manager using that command.
Is there a way to set the PATH variable so that it opens both the SDK manager AND the AVD manager?
Use android avd to open the AVD Manager.