Android studio gets stuck when updating SDK - android

It doesn't go past this:
Tried twice. Any ideeas why?

The integrated sdk manager is still not 100% reliable. Try to download it using the standalone sdk manager.

Now when Standalone SDK GUI is deprecated/deleted it's quite tricky to do it via command line. I've found another solution (for my problem) - delete problematic component through Android Studio SDK and install it again through Android Studio SDK.
This trick helps in my case which was problem with patching Google's API system image file system.img for Android 7.1 from revision 10 to 11 (patching stuck on that file)

Related

Rendering Problems Android Studio 0.8.2

I updated Android Studio to 0.8.2 and at first I had Gradle problems and Rendering Problems.
My Rendering Problem was that I didn't select a render target. After fixing this problem I got another Rendering problem.
Rendering Problems File C:\Users\User\AppData\Local\Android\android-studio2\sdk\platforms\android-19\data\layoutlib.jar doesnt exist (Details).
I've searched so much on the internet and I even downloaded the layoutlib.jar file but it didn't solve my problem. I really need help because I wanna concentrate on my work.
THANK YOU IN ADVANCE
Had the same problem. What worked for me is deleting the SDK Platform for the specific API (19 in this case) using Android SDK manager. If you open SDK manager and expand the different Platforms packages like Android 5.0.1(API 21) and so on, you'll see the respective SDK Platform underneath. Select the one you're having trouble with and delete it. Then reinstall it.
Try to update SDK.
Tools -> Android -> SDK Manager, when the manager is opened packages which have updates will be checked, you just click "Install packages".
Delete all items in andoid 21 and install again. Your problem will be solved. Thanks..
Just uninstall and reinstall
specific android APK
with android here it android-19
Tools -> Android -> SDK Manager
1.uncheck the specific android APK android check box the apply (wait if need to unistall)
recheck the same specific android APK android apk and then click on Apply

Which folder needs to be specified when selecting the location of the Android development SDK?

When setting up your Mobile Support Preferences in LiveCode for developing to an Android , which folder within the Android folder archive needs to be selected? Whenever I select a folder it seems to come up with an error saying:
The chosen folder is not a valid Android SDK.
Please ensure you have it installed correctly,
and enabled support for Android 2.2 (Froyo).
I am running on Windows 7.
A few weeks ago there was an update to the Android SDK that had a new arrangement of files, which stopped LiveCode from being able to recognize the SDK. There are a couple of files that you can move across from the older SDK to work around the problem, but I believe the issue was fixed in LiveCode 6.0.2. So, try using that version of LiveCode.
Got it resolved. My SDK was KitKat and live code is expecting Froyo. I checked Android 2.2 from SDK Manager and installed it. Then gave the path
F:\Android DK\adt-bundle-windows-x86_64-20140702\sdk
worked like a charm.
i found the answer here:
http://forums.livecode.com/viewtopic.php?f=53&t=20966
I had to download zipaling.exe and copy it to the tools folder inside my android-sdk folder.
I tried all other solutions on the internet, and this is all that worked for me.

Eclipse wont recognize Android support library revision 9

I recently downloaded all the latest updates for my eclipse/Android plugins (before the upgrades everything worked fine). I got everything to work except when i try to create a new project I get a message that I need Android support library revision 8. I click Install/Upgrade and It proceeds to download and install the library. When it finishes the tiny download/install window disappears but the window which informs me that i need Android support library revision 8 remains open and i cant click finish to create new project. I tried closing the window and eclipse and trying it again but it always leads me to the window which states I need the Android support library revision 8. I didnt move eclipse to any other location and I am wondering what is wrong.
I had a problem before with an ! in my eclipse path and eclipse wouldnt work because of exit error 13. I posted a question about it before. My answer explains what has happened and the easy fix.
I am wondering what is wrong now. Do i need to manually link the support library?
Im really frustrated because its taking me forever to set this up.
Update:
I tried restarting eclipse and reinstalling the library multiple times.
I upgraded the android sdk tools and sdk platform-tools before i installed the support libraries.
Like these similar issue i'd for 2 days ago. Whenever, i'm trying to create a new project its showing me like below
For, this i've downloaded that support library using Install/Upgrade and in my path E:/Android/Android-Sdk/extras/android/compaitability I've changed the name of compaitability as support and after just restarted my Eclipse. Its working fine.
Hope these helps you.
Try updating android sdk tools and sdk platform-tools and restart eclipse? ADT has dependencies on these.

Can't find Support Package in Android SDK Manager

I want to install support Compability Package but my SDK Manager doesn't see it. What should i fix?
Here is my screen:
http://imageshack.us/photo/my-images/20/clipboard01sj.jpg/
But it should be like this:
http://imageshack.us/photo/my-images/209/clipboard02wm.jpg/
ADT version - 19. OS - Windows. I think that no problem with eclipse, because when i start SDK Manager without eclipse, thru Program Files I have the same situation.
You need to provide way way way way more information than that... what OS are you working with, what version of eclipse, which ADT revision, etc.
Honestly, I would just try a fresh install... trying to fix eclipse is a waste of time (in my experience at least). In your case, it seems like you are better off just starting from scratch.
I resolve problem by updating to the ADT version 20 . And Android Platform tools version 14.

Configuring android to work on appcelerator titanium

I am running windows 7, and am trying to configure android to work in titanium...
I have installed both 32 and 64 bit versions of Java... (android didn't seem to work with the 64 bit version)...
When you go to configure android from within titanium I am getting the following error...
Items required:
•Add-Ons Google APIs 7, Google APIs 8
When you then click install or update Android, Android SDK manager opens and selects what I need to install... I click accept and it downloads and installs...
However once that completes, I still have the same error when going back to titanium...
It should not be this hard... Any ideas?
I've had issues with the 64bit version. Have you tried uninstalling the 64bit versions of Java?
Also, have you run Android to update all the libraires?
I know it's an old question but in case anyone googles it like I have, this is what helped me:
make sure to install Google APIs at least for the latest Android SDK that you have installed
make sure to have Android 2.3.x installed. This is critical, Titanium Studio somehow couldn't link to my Android SDK (set outside titanium folder) even though I had half a dozen higher than 2.3 SDKs installed
restart Titanium Studio
Further more, in case this doesn't help, try clean-starting Titanium Studio, like so:
close Titanium Studio
go to your Titanium Studio installation folder (e.g. "C:\Program Files\Titanium Studio")
open TitaniumStudio.ini
copy these two lines at the beginning of the file:
-clean
true
save file and start Titanium Studio.
After succesfull operation you can remove those two lines from .ini file as they are not needed.

Categories

Resources