I've got an issue with Android Studio: when there is an update and I want to install it in my Android Studio I must use web-link to get newest version. After I download it I got NEW Android Studio program in my computer, which I can run using android-studio/bin/studio64.exe. This is weird, cause I want to have update in Android Studio - which means initial update build-in my current Android Studio program`.
P.S. Website is something like this:
http://tools.android.com/download/studio/
or this:
https://sites.google.com/a/android.com/tools/download/studio/canary/latest.
I can only download it. Cannot update it via Android Studio...
Any ideas?
Normally you can update from within the IDE, but this is a preview version and somethings things go wrong, which was the case here:
Due to a bug, you can only patch from Android Studio 2.2 Preview 2, 3, 4 and 5. All other versions will need to download a complete install of the IDE.
Yes, with major updates of AndroidStudio, that's correct. Only minor updates can be updated from inside the studio.
First, make sure you know where your SDK lays. I'm just assuming the path to your studio installation is C:\Programs\android-studio
If your SDK is located in C:\Programs\android-studio\sdk (which it shouldn't be in newer versions), you have to copy that to any other location.
After that, rename your folder android-studio to something like android-studio_OLD. Then, copy the new version of android studio to your location (C:\Programs\android-studio).
Then you can try if it starts if you start C:\Programs\android-studio\bin\studio64.exe.
(Note: If you had your SDK inside your studio folder, you might have to enter the path to the new folder of your SDK for everything to work properly)
If the Studio is up and running as it should, you can delete android-studio_OLD.
Related
I have just updated my Android Studio from 1.4 to 2.0, on startup it freezes on splash-screen. is it possible to fix it or i have to download it again?
Its very strange. I have also updated to 2.0 in my MAC, Ubuntu and Windows 10. I didn't feel any issues till now in any of these.
Please note that 2.0 is still a preview. You may have to wait till Google releases the stable version.
Which operating system are you using?
For Windows, check the log of
C:\Users\<Username>\.AndroidStudioPreview2.0\system\log\idea.log
and paste here the last relevant entries on the bottom with a recent timestamp, containing an error message or indication of a possible freeze.
Also, check that you don't have any Android Studio, IntelliJ, or java-processes running before you start Android Studio.
This is an answer for my question, after trying many methods now it works fine.
This is how i resolved my problem by:
Updating Android SDK Tools and the latest SDK Platform
Removing the Android Studio cache folder situated in
C:\Users\<username>\.AndroidStudioPreview2.0
Running android studio again
At First Update Your Android SDK Tools (Support Repository )
Actually Android Studio creates a local directory . AndroidStudio to
cache its own data. In most environments, this is acceptable. However,
the size of the directory can easily exceed 300Mb and, if you have a
space constraint on your home drive (or a roaming profile in windows),
this may be better off in some other place.
The location of this directory is placed in an idea.properties file in the bin/ directory of your AS is installed.
I have had such a rough day, I have been trying to make an android using Android Studio 1.0.1 for Mac yet every time i create a new project the Gen folder which stores R.java is never created, I do not know, maybe its my installation, I was told to download android Build tools and i did. When i use Eclipse ADT Gen folder is created but Eclipse gives me trouble, I always fail to create blank activity no matter what API level i select, i have downloaded API 8, 21 and 14. Can someone please help me, I do not want to be using Eclipse, I prefer Android Studio for the wide Variety of Customization and tools.
I created a new Example Project and Eclipse magically worked, i guess it needed a bit of stretching, its working flawlessly for now, but am wondering if it will magically stop working again.
I've installed Android Studio 1.0 rc and Android SDK in my Archlinux box. But when I try to create a new Android Application, the AS would try to download another set of SDK directly from dl-ssl.google.com. I mean why, why wouldn't it start first and let me configure the SDK path? (I am in mainland China, so the connect will be reset all the times, in another word, AS will not start to workspace.
Looks like that is in the known issues list: http://tools.android.com/knownissues
A bug in Android Studio 1.0 RC1 causes the Setup Wizard to show up and ask you to install an SDK on each startup. To work around this, you can edit the idea.properties file in the bin folder such that it has the below line as well:
disable.android.first.run=true
PLEASE NOTE: This will break patch updating to the next version. We now check full binary checksums on the whole installation to prevent various install corruption bugs as well as to preserve application signatures. Therefore, make a copy of this file first, and before updating, put it back. (Alternatively, just download the full image of RC2 when it is released.)
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
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.