According to the materials available online, it is based on IntelliJ IDEA. There is also a FAQ about IntelliJ IDEA and Android Studio.
The download link of the preview version of Android Studio is http://developer.android.com/sdk/installing/studio.html.
I have downloaded and tried it.
In the installation process,
the installer will try to find out the JDK that has been already installed on your computer.
If you do not have JDK, you will need to download it from Oracle's Java download site to download it then install it on your computer.
After the Android Studio installer finished the installing process, it would ask you to run it now or not.
The problem is that you would get chance to note that nothing happens after you click OK to run the Android Studio now, or after you choose to close the installer and run the Android Studio later.
The possible cause is that the installer has not remembered the path for the JDK on your computer.
There is a file in the bin folder where your Android Studio has been installed, the file name is studio.bat in Windows machine.
In the studio.bat file, the code first looks up the path of the following parameters:
ANDROID_STUDIO_JDK, ..\jre, JDK_HOME, JAVA_HOME
If these parameters have not been set in the system environment variable,
the batch file will always print out the error message at the end of the batch file:
ECHO ERROR: cannot start Android Studio.
ECHO No JDK found. Please validate either ANDROID_STUDIO_JDK, JDK_HOME or JAVA_HOME points to valid JDK installation.
Even though the Android Studio installer has found there is JAVA installed on your computer,
the information of JAVA Path has not been added into the studio.bat file.
You need to either set it in this batch file, or set it correctly in your system environment.
When you start it up for the every first time,
you will see a smaller UI. Only after you create a new project or import an old project from Eclipse,
the UI of the IDE will be in larger size or full window.
The other issue I see is Android Studio can not pull in the Android SDKs that have already been downloaded and installed on my computer. The installer does not even check the Android SDKs that have been installed on the computer.
I am an Android developer and have been using Eclipse and even tried the NetBeans plugin.
Versions of Android SDK, Tools have been installed on my computer.
Up to now I have not found a way to let Android Studio use them. I need to use the Android SDK Manager in Android Studio to install all of the SDK again.
It is interesting to see that there is "sdk" folder where Android Studio is installed.
In the structure of this folder is similar to the Android SDK folder where I installed Android SDKs in the past, however only Android SDK API level 17 is installed by the Android Studio installer.
I tried to create a link of this "sdk" folder to my old Android SDK folder, but it does not work.
The Android Studio can not recognize it.
OK, now I finally found a way to point the IDE to the Android SDK folder I used for Eclipse IDE.
In the Quick Start, there are several clickable items in the right panel. One of them is "Configure".
Following the path Project Defaults -> Project Structure -> SDKs -> + -> Android SDKs -> Select Home Directory for Android SDK, then I can choose the folder Android SDK folder I used for Eclipse.
If you have happened created a new project with Android Studio or have imported a project from Eclipse, you may find that every time you start up Android Studio, it would load the project(s), and you may wonder how to get to the Quick Start Window.
From the full IDE UI, File->Settings->IDE Settings->General->Startup/Shutdown, please uncheck the "Reopen last project on startup", then every time you run the Android Studio, you will see the Quick Start Window, where in the left panel a set of projects would be listed. The full IDE will be started up when you click on one project.
And after about half an hour poking around, I have not found a way to change Project properties similar to the click through in Eclipse, so I can not use any Android SDK add-ons in the way I used to in Eclipse.
Anyway, like the official page of Android Studio mentions, this tool is just for preview, and my past experiences with Eclipse could not be ported to this IDE.
After reading the Get started up guide on the web, I gave it a try again by exporting my Eclipse project to get the gradle build file, then from Android Studio, import the project into the IDE. After the project was imported, it would be displayed in the left panel of the Quick Start window. It would be loaded into the IDE after it is clicked. But at this stage, when I ran the build, there would be complaining about missing libraries of my addon SDK used in my Eclipse project.
Like I mentioned above, when I right clicked on the project to find the "Properties" of it, there is not such item in the menu. Instead related option is under "File" -> Project Structure.
In the dialogue window of "Project Structure", there are 2 major items: Project Settings, Platform Settings.
In the "Platform Settings", I can point the Android SDK to the folder where my Android SDK used by Eclipse exists: C:\android-sdk. It shows up as "Android 4.2.2 Platform", and in the right panel I can now choose the build target from the drop down list of all of Android SDKs, add-ons. Now the imported project can be built against the add-on without any error.
It is very interesting to note that there are 2 links at http://developer.android.com/sdk/installing/studio.html#download for users to download the tool.
One is for Windows platform, the other link is "DOWNLOAD FOR OTHER PLATFORMS".
When you click on the 2nd link, a table would show up which lists the downloads for Windows, Mac OS and Linux. I am wondering what is the difference between the download for Windows platform in this table and that in the link above. Interesting...
And yeah, in my first installation, when I clicked on the link "Check for update now", it said there was not network connection, it asked me to check network settings; after uninstalling and removed related data
(project data, settings, ...), and installing it again, if I clicked the link to check update, it would say "
The other issue I noticed at the very first run is the slow starting up the IDE. Sometime it took about 10 seconds for the starup IU show up
This behavior is so different from other IDEs. For example, Eclipse and NetBeans shows the start up UI in 2 to 3 seconds when I clicked to run them. Latency of 10 seconds is some kind of long.
Today, on 05/28/2013, there is an update from build 130.677228 to 130.687321, quite the same time Google Android Team released the update to R22.0.1 of ADT plugin and Android SDK Tools, it is within two weeks of the first preview release of the Android Studio. It took several minutes to download the patches and applied them.
The popup window for Check Update Information will keep popping out when user repeats run Help -> Check for Update.
To me, the Android Studio should first check if there is an popup window, if there is not, then show the popup; if there is one already visible, then close it, and show it again when the update info is available.
On June 6, release 130.700.763 is available, the patch has the size of 6 MB, the release note is at http://tools.android.com/recent/androidstudio013released. However, when I ran the checking update,
the popup windows told me there was update, if I clicked on "release note" or "what is new", it would direct to http://tools.android.com/recent/androidstudio013released. The link http://tools.android.com/recent/androidstudio013released was found by Help->What is New in Android Studio after the IDE applied the patch and restarted.
When you want to run the app on real device, please use the main menu "Run" -> "Edit Config"-> in the right panel, under "Target" device, please choose "USB device". Then next time you run the app, the app would be launched to the real device connected to your computer via USB cable. Or if you prefer, choose "Show Dialog", and it would show a popup window asking you to choose either device or emulator.
While if I deleted one project once has been run and built by Android Studio, if I deleted it from folder on my hard drive, it would still appear in the project list in the Quick Start Window. If I want to remove it from this list, I need to click on it, then a popup window would appear saying it does not exist anymore, do I need to remove it. If I click on to remove it, it would still be in the list, e.i., the list would be updated, I need to restart the Android Studio, then the project would not be in the list any longer.
On June 14, new patch is released to users, the build number is bumped to 130.709792, revision 0.1.5. The size of the patch is about 1 MB. The release note is at http://tools.android.com/recent/studio015released.
On June 21, updated to 0.1.6 with build number 130.716844, the patch is 2 MB. The release note is at http://tools.android.com/recent.
New version 0.1.8 was found when the IDE was started up today (Jun 28), build number is 130.725679, the patch is 1MB. The release note is at http://tools.android.com/recent/androidstudio018released. It said there are several patches to 0.1.7 (Jun 25, 2013) which I did not get it but jumped from 0.1.6 to 0.1.8 directly. Two releases in 4 days !
No comments:
Post a Comment