Updating to android studio 2.0 - android-studio

My current Android Studio version in 1.3.2. I want to update to 2.0 stable build. Is there a way to do this automatically? When I go to Help->Check for Updates, is says a new version of Android Studio is available.
The options it gives me at the bottom are Download, Release Notes, Ignore This update, and Remind me later.
Hitting download does not download it, but rather takes me to the canary channel of android studio and it says beta there. I just want to update to 2.0 stable.
Why is android studio not updating itself for me?

Related

Upgrading Android Studio

So, its been awhile since I worked in Android studio, but decided to work an a old project.
I installed the latest version of Android Studio, copied the project from my old computer and imported it into Android Studio. When I tried to run it, I ran into a never ending sequence of problems, like SDK version, gradle plugin, kotlin version etc. being incompatible with this new version of Android Studio. So, my question is, is there a procedure to import an old project into a newer version of Android Studio to circumvent all this, or is one just stuck starting from scratch?

How to stop Android Studio from trying to install Android SDK updates?

I have linked my Android Studio project's Android SDK Directory to our software team's standard Android SDK directory (I can't change it, so please save the effort of typing "I can't understand why you don't simply use the normal path from Android Studio :-) ).
I have disabled automatic updates in Android Studio (see screenshot). Then closed and re-opened the project.
Yet, every time I try to build, it tries to install an update to Android SDK and fails.
How can I stop Android Studio from trying to install unwanted updates?

Where did i get list of all versions of Android Studio?

I am stuck in my Android Studio and not able to open it. So i want to install new Android Studio with a lower version than previous. So, where did i get it?
Here, on the below link you are able to get all the versions of Android Studio.
https://android-studio.en.uptodown.com/windows/old
Go and get your suitable version of Android Studio.
Here you have old versions:
https://developer.android.com/studio/archive.html
Not all versions are available.

Android Studio 1.3 Preview NDK support

Yesterday Google announced that native code debugging is now possible with this version of Android Studio.
https://plus.google.com/+AndroidDevelopers/posts/2Gk6yrZKV4X
I've updated to the newest build version "AI-141.1962279" and can't see any possibility of debugging native code.
I've switched to build-tools 23.0-rc1, used gradle plugin 1.3.0-beta1 but cannot set breakpoints in native code or step into JNI calls.
Is it really working?
July 10th update Android Studio Preview with NDK support is available : https://sites.google.com/a/android.com/tools/tech-docs/android-ndk-preview
Android Studio 1.3.0-Preview is indeed available through the Android Studio "Check for updates" menu.
Unfortunately, all C++ features aren't available yet in this preview. They will be available in about 2 weeks.
Source : Google IO dev tools keynote at 35:38
Android Studio 1.3 Beta Available
posted Jun 19, 2015, 11:37 AM by Tor Norbye
Android Studio 1.3 Beta is now available in the beta channel! Sorry, this build does not yet contain the C/C++ support; we are still ironing out a couple of critical issues, but we hope to be ready in the next week or two. Similarly, the vector rasterization support is also still not enabled due to various bugs.
UPDATE:
the 9th of July update contains c++ debug
http://tools.android.com/recent
Even on the Canary Channel, the latest currenlty available build is 1.2.1.1. We will simply have to wait a bit longer for 1.3. The "About Box" in Android Studio also displays the version number; check that to be sure.
"As announced at Google I/O, Android Studio 1.3 will include C/C++ support as well, but that is not included in the first couple of preview builds."
Source:
https://sites.google.com/a/android.com/tools/recent/androidstudio13preview1available
FYI:
NDK support is included from Android Studio 1.3 RC1 on. This includes editing running and debugging C and C++ code. See Android NDK Preview and experimental Gradle plugin guide.
with Android Studio 1.4 release you could debug native JNI code. Your project need to use gradle plugin com.android.model.application though.
After you create a project with JNI code in it, this Android Studio version will create a debug Configuration (mine is called app-native)
once you select this configuration, you could set breakpoint in JNI code
then run your app with android studio [it will download and start app on device]
When JNI code is launched, Android Studio will break right away. You could set more breakpoint at this moment too
Then let debugger "go" [to continue ]
Your breakpoints will get hit
The gradle model plugin examples could be found from googlesamples/android-ndk on github. There is a youtube clip called HelloJniWithAndroidStudio shows how to create a hello-jni with android studio 1.3, most steps still work for 1.4 -- it might help for build.gradle creation.
Different version of gradle mode plugin requires different gradle version:
Gradle-Model-Plugin-version 0.2.0 works with Gradle Version 2.5
Gradle-Model-Plugin-version 0.3.0-alpha3 works with Gradle version 2.6
you could find out what versions are available from the jcenter links mentioned earlier.

Can you upgrade your Android Studio Preview to Android Studio beta (0.8.x)

Has anyone been able to upgrade from within the Android Studio Preview (canary channel) to Android Studio beta or do you have to start with a fresh beta install?
You cannot upgrade Android Studio Preview to Beta. These are two different products. You have to uninstall the preview and install the beta. It was straitforward for me. Beta setup can even import Preview settings. I just had to update my build.gradle file (on a small project) since I also downloaded API 20. It was not more painfull than an ordinary canary update of Android Studio Preview after all ;)
This page may be usefull for a step by step Android Studio Beta installation guide: http://bugapart.blogspot.fr/2014/06/install-android-studio-beta-for-dummies.html
As Dazzibao said, you cannot. However I would like to point out that I can't seem to find the Preview version being advertized for download anywhere on Google's site anymore. It would seem to me then that it IS recommended to upgrade to Beta as soon as possible if you're already on the Preview build. I would have posted a comment to reply directly to amchang87's comment on going against recommending it, but I simply don't have the rep yet.
I'm swapping mine out as I type this.

Resources