Android Studio version - android-studio

I just updated Android Studio Arctic Fox and I noticed that there are different versions:
Android Studio arctic fox
Android Studio Electric Eel Canary
Android Studio Dolphin
Android Studio Bumblebee
I’m a little lost.
so I’d like to know if:
1-their installations are independent of other
2-What are the differences between each of them and their usefulness ( when used one versus another ).
3-also if there is a better ( forward ) than another ?
thank you.

Differences
To answer your latter two questions first, instead of using version numbers, they are just version names. They are ordered alphabetically.
So sequentially:
Android Studio arctic fox
Android Studio Bumblebee
Android Studio Chipmunk
Android Studio Dolphin
Android Studio Electric Eel (Canary)
The difference: newer versions have the newest features and security updates. They are otherwise the same and serve the same purpose.
The canary version represent a version in active development, usually released early and are prone to bugs and crashes.
The current stable release, as of this writing, is Android Studio Chipmunk.
Are the installations independent of one another?
Not necessarily. As newer versions are released, they are installed on top of the older version. However, if you install a beta or canary version, they are usually installed independently alongside other installations.

Related

How do I work out what version of IntelliJ a particular version of Android Studio is based on?

How do I work out what version of IntelliJ a particular version of Android Studio is based on? I had a look in the "About Android Studio" window and all I see is the following information:
The first three groups of numbers of the Android Studio build are the version of the IntelliJ Platform build that the Android Studio build is based on: 213.7172.25. The first two digits indicate the year: 2021. The third digit indicates the release number: 3. So it is based on the 2021.3 version of the IntelliJ Platform.
See also: https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#build-number-format
The Android Studio version name (e.g. "2021.3.1") encodes what version of IntelliJ it was based on, as follows:
<Year of IntelliJ Version>.<IntelliJ major version>.<Studio major version>
As described in the "New versioning scheme - Android Studio" section of the Announcing Android Studio Arctic Fox (2020.3.1) & Android Gradle plugin 7.0 Android Developers Blog post:
The first two number groups represent the version of the final IntellIj platform that a particular Android Studio release is based on (earlier canaries may still be on the earlier version). For this release, this is 2020.3.
The third number group represents the Studio major version, starting at 1 and incrementing by one for every major release.
So "2021.3.1", for example, encodes that this version of Android Studio is based on the "2021.3" version of the IntelliJ platform.

Android Studio very laggy on M1 Apple Silicon chip

I've upgraded to the M1 chip 2020 Macbook Air from a 7th gen. Intel chip pc. Overall, I'm very happy and content with it but when it comes to Android Studio performance, which I use quite often, it is very disappointing I'm sorry to say. When will an Apple Silicon compatible version be available? Are any of you guys have any clue?
I had the exact problem and the solution was as follows:
Open Android Studio, go to Help -> Edit Custom VM Options and add the following lines:
-Dsun.java2d.opengl=true
-Dsun.java2d.opengl.fbobject=false
Restart the IDE and wait for the files to sync. Done, IDE running smooth again.
Starting from Android Studio Artic Fox version, they not only changed versioning number style (replaced number system with Year-styling Version names), but also introduced Android Studio for M1/Apple Silicon (arm arch 64bits).
To check if you'r using right Android Studio for your M1, click on 'About Android Studio' and check the runtime, it should show as aarch64 (ie. Arm architecture 64bits). If not, mostly you might be having x86_64 if you installed regular Mac's Android Studio.
To switch to M1's Android Studio,
first exit already installed Android Studio, if it's open.
Go to Finder and under 'Applications', rename 'Android Studio' to preferably 'Android Studio_x86_64'.
Go to Android Studio downloads page (https://developer.android.com/studio#downloads), and download the one tagged as 'Mac (64-bit, ARM)' and unzip and move to 'Applications'.
Click to open 'Android Studio' from the Finder/Applications. You may drag and add it as a Dock shortcut option.
Good thing is that there is no extra installation required and the existing project, (at least for me), opened without any issues.
Android-SDK based and Flutter projects should be good right after switch, NDK not yet there.
AS is now faster again as you are using it as intended on Apple M1's chipset. !
Now Android Studio Bumblebee (2021.1.1) is available in Stable Channel. If your version is older than Bumblebee, download it for more performance.
I find out that the link shown by default is for intel architectures.
Automatic update performed by android studio also downloads the intel version even if this download occurs on a Mac with an ARM architecture (M1) .
You should navigate to the download options and choose ARM architecture manually.
You can download version 2021.1.1.22 Bumblebee for MAC ARM (M1) here (Link updated on Mar 7 2022 )
Check Android Studio Arctic Fox (2020.3.1) Beta 3 (have apple silicon support)
https://developer.android.com/studio/archive
use Intellij CE the latest version released on April 6th has native support for m1 and its very fast and intuitive, i've been using it and it's not very different from android studio
Edit: September 21
Download m1 native supported Android studio through https://developer.android.com/studio/archive
Download Mac (Apple silicon)
All the above did not work and my emulator was completely unusable but in my case the following fixed my issues:
Android studio Preferences > Tools > Emulator
Make sure 'Launch in a tool window' is checked
'Wipe Data' on emulator and then relaunch
Having the emulator launch as a separate window caused a huge slowdown but this fixed it immediately

Do I need to install Android Studio if I already have Intellij IDEA Ultimate?

Currently, I have IntelliJ IDEA Ultimate installed. I want to develop an Android app. Do I need to install Android Studio?
No. Android Studio is focused specifically on Android development and
provides streamlined environment and project setup, but otherwise all
of its features are available in IntelliJ IDEA.
-- JetBrains
Android Studio and IntelliJ changes for Android related functionality are kept in sync (both ways). Android Studio is free but has only a subset of functionality of IntelliJ.

Multiple android studio on Mac

My system is MacBook, can I have one version from android studio stable and android studio beta on my system ?
I have android studio 3.1.4 stable on my system now.
Problem: I need to android studio 3.2 beta now.
I need to stable and Beta, I need to beta and to stable often.
Yes... just download them and put the different versions in your applications folder. I'm currently running 3.1.4 stable, 3.2 beta 5, and 3.3 canary 5. The beta and canary versions will have a yellow icon.

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.

Resources