Android Studio - IceCreamSandwich remains "Partially installed" - android

I'm trying to develop an app targeting the API 15. However every time I try to install the SDK platform in Android Studio, it stop before the end,showing connection timed out, and leave me with a partially installed SDK platform...
Trying it several times with the rights and a good internet connection gave the same result every time. I can still compile and (sometimes...) run my app using it but some bugs are there as well and since I'm pretty sure it's linked, I would lik to get the platform properly.
Thanks!

Using Android Studio version 2.3.3, to check which components of the SDK package for the platform were not installed properly:
Start the Android Studio "SDK Manager"
Under the "SDK Platforms" tab, select the check-box at the bottom that says "Show Package Details"
The SDK package will be expanded and show you the status ("Installed", "Not Installed", "Partially Installed") for each component of the package
This will enable you to install the components individually, and if they fail to install, debug what the issue is.

If you are in a country like China where Google is blocked or where you might have any problem with https, this fix the problem:
Check "Force https://... " (to force SDK Manager to use http instead of https)
For the rest the problem can come from the server as well.

Related

All packages are not available for download error in android

All packages are not available for download!
The following packages are not available:
- Package id sources;android-24
Am trying getting data from database by using of web services, when am running the application getting an above shown error.
How can I resolve this issue in the android studio?
Open SDK Manager -> SDK Platform
Check on Show Package Details and Sources for Android ... then download
The popup error is not related to the exception you got on your application. Api 24 source code is not fully available. Hence you got the error. Change complieSdkVersion and targetSdkVersion to 23 and sync the gradle.
I just closed my IDE then restarted my computer. When I opened the IDE the error was no more.
Make sure you have good internet connection, as the error might be caused by a lack of internet connection preventing the IDE from reaching the site.
Check if the SDK version is installed on Android studio for that particular Android device. e.g. If Android Device has version 4.3 then check if SDK for this version 4.3 is installed, you can check it through Android Studio SDK manager. If not installed then install it complete.
Restart Android studio, reconnect the device, That's it
A thing I ran into, check to see if you have more than one android sdk on your box. I'm not sure if it was confusing Android studio or not, but I had one previously installed under Program Files. I ended up going into the AppData\Local\Android version used by Android studio and adding stuff I needed manually running the SDK manager as administrator.
This means that you can't reach the download site, and it has many reasons one of them is that you are in a country in wich the American laws won't allow to use such technology so you have to use a proxy program and to configure the sitting in your Android studio to use the proxy gate and port.

There are no available emulators-blocked: the user operation is waiting for background work to complete

I am very new to mobile application and Titanium Appcelerator; I downloaded the IDE and when I want to install Android SDK, Blackbery SDK or Tizen SDK in the IDE : it keeps saying : blocked: the user operation is waiting for background work to complete; even after 1 hour the same message! Why is that! I don't find any background work!
Also when I want to run my application, it only runs on browser not "Android Device" or "Android Emulator"; if I use "Android Device" or "Android Emulator" it gives me an error and says: "There are no available emulators" or "There are no Android devices connected"; although my Android phone is connected!
Could you please help me in this regard and if you need more clarification, please let me know
Your help is totally appreciated!
One thing you can try out is to install Android SDK separately and give the path to the Android SDK inside the Titanium studio.

Android Device Window Chooser not working after updating device

I've always used my android phone for development but after installing the last software update on my device (4.2.2) it suddenly stopped working and would appear offline in eclipse's Device Window Chooser.
I'm not able to send applications to it for testing or access it with the adb-shell. I have developer options turned on and debugging mode enabled. I'm using Eclipse Helios on Ubuntu linux.
When I launch Eclipse the following window will show up
and after clicking on the check for updates I get the following error:
Unable to read repository at jar:file:/home/matteo/Downloads/ADT-18.0.0.zip!/site.xml.
error in opening zip file</code>.
Last thing, if I open Window->Preferences and go on Android I see this:
This question is not a duplicate of Android device chooser - My device seems offline (of which I read every single line). It's a request for some rigorous solution from the community. In fact non of the proposed solutions helped me in getting my device to appear online, as you can see in the attached snapshot.
Please help me! Any suggestion will be very appreciated! ;D
Ok open sdk manager /sdk/tools/android now download the sdk for your new android version. In my case it was API 17. Once its done you should be ready.
If you still got some issue be sure that you have the last version of the ADT installed. Installing it again http://developer.android.com/sdk/installing/installing-adt.html
Now you should be ready to go.

Android SDK installation failed - Connection reset. Nothing is installed

Hello I have a problem with installing the packages using the Android SDK Manager.
I get Connection reset. Nothing is installed.
I am on Windows 7 64 bits using JDK 7.
Here is what I tried so far without success:
Installed Android SDK installer_r18-windows.exe
Then run Android SDK Manager as Administrator and I can select which packages I want to install.
So far so good.
Then when I select the packages I want and click Install then the log says:
Downloading SDK Platform Android 2.3.3, API 10, revision 2
peer not authenticated
I googled this error and they say that you need to set Force https://... sources to be fetched using http://....
If I do that and click install I get this error:
Downloading SDK Platform Android 2.3.3, API 10, revision 2
Connection reset
At every package it tries to install.
I tried setting the proxy setting according to my internet providers setting. I get the errors again.
I tried deactivating the firewall. Same errors.
So how do I get the Andoid SDK Manager to install the packages succesfully?.
Thank you for your help.
Others have also faced similar problems when downloadind SDK components.
A simple way to fix this problem is to modify the Pkg.SourceUrl property, changing HTTPS to HTTP to avoid secure downloads, as illustrated in the answer to this question.
I ran into the same problem today. In my case, the download would start and then abort with the same error message.
If the download starts and then aborts, try downloading again - SDK Manager will resume the download where it aborted. It doesn't advertise that feature (let alone resume by itself), but the log entries report that it is in fact resuming the download.
You might need to retry a few times - depending on how stable your Internet connection is and how much you download. Not too elegant, but will do for a quick on-the-fly install.
This may be cause of system time may have changed. Synchronize your system time with one of the internet time servers. Restart the installation. Hope it works.

Android SDK beginner question

I'm a n00b developer at my second attempt to use the Android SDK. I'm
developing on the Mac platform and I've noticed that the latest
version of the SDK doesn't include anything except the tools (so I
have no plugins, no targets to choose from inside the package I
downloaded).
So I tried to use the Android SDK and AVD Manager to download and
install some, however, I got this error:
Failed to fetch URL https://dl-ssl.google.com/android/repository/
I went to the settings and checked the box to force fetching via HTTP,
but no result. I was suggested to look for a configuration file, but
couldn't find any.
Any suggestions? I'm dying to get my hands dirty with the SDK.
Whenever I've seen that error, I've just retried the download several times and eventually it went through. I've only run into it when I was behind a proxy, but that might not be your problem.
Here you have a Android tutorial, step by step.
http://www.vogella.de/articles/Android/article.html
Its means that you are behind a proxy.Go tools->options in your android SDK manager and enter your http Proxy server and port and it'll work.

Categories

Resources