qileilove

blog已经转移至github,大家请访问 http://qaseven.github.io/

Installing Android Studio

Installing Android Studio


  1. Download the Android Studio package from above.
  2. Install Android Studio and the SDK tools:

    Windows:

    1. Launch the downloaded EXE file, android-studio-bundle-<version>.exe.
    2. Follow the setup wizard to install Android Studio.

      Known issue: On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.

      Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for exampleC:\Program Files\Java\jdk1.7.0_21.

    Mac OS X:

    1. Open the downloaded DMG file, android-studio-bundle-<version>.dmg.
    2. Drag and drop Android Studio into the Applications folder.

      Known issue: Depending on your security settings, when you attempt to open Android Studio, you might see a warning that says the package is damaged and should be moved to the trash. If this happens, go to System Preferences > Security & Privacy and under Allow applications downloaded from, select Anywhere. Then open Android Studio again.

    Linux:

    1. Unpack the downloaded Tar file, android-studio-bundle-<version>.tgz, into an appropriate location for your applications.
    2. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh.

      You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.

That's it! You're ready to start developing apps with Android Studio.

Note: On Windows and Mac, the individual tools and other SDK packages are saved within the Android Studio application directory. To access the tools directly, use a terminal to navigate into the application and locate the sdk/directory. For example:

Windows: \Users\<user>\AppData\Local\Android\android-studio\sdk\

Mac: /Applications/Android\ Studio.app/sdk/

For a list of some known issues, see tools.android.com/knownissues.

Starting a Project


When you launch Android Studio for the first time, you'll see a Welcome screen that offers several ways to get started:

  • To start building a new app, click New Project.

    This starts the New Project wizard, which helps you set up a project using an app template.

  • To import an existing Android app project, click Import Project.

    Note: If you previously developed your Android project with Eclipse, you should first use the new export feature in the ADT plugin to prepare your project with the new Gradle build system. For more information, read Migrating from Eclipse.

For additional help using Android Studio, read Tips and Tricks.

As you continue developing apps, you may need to install additional versions of Android for the emulator and other packages such as the Android Support Library. To install more packages, use the SDK Manager, which you can open from Android Studio by clicking SDK Manager  in the toolbar.

菜鸟日记1-20130604 :

如何在没有安装过JAVA的WIN7 32位系统里安装和配置 Android Studio

1,http://developer.android.com/sdk/installing/studio.html 在这里下载WINDOWS版本的Android Studio;在本地计算机上获得安装文件:android-studio-bundle-130.677228-windows.exe;

2,运行安装文件:android-studio-bundle-130.677228-windows.exe,在安装过程中会发现没有JDK,根据提示下载并运行这个文件:jdk-7u21-windows-i586.exe;

3,回到android-studio-bundle-130.677228-windows.exe的安装界面,点下一步继续完成安装;

4,初次运行 Android Studio 可能会无法启动,下面重点讲一下我的修改;不同的系统可能做法不太一样!

计算机属性-高级-环境变量-系统变量新建:

变量名:ANDROID_STUDIO_JDK 变量值:C:\Program Files\Java\jdk1.7.0_21

5,在C:\Program Files\Android\android-studio\bin 下找到studio.bat,修改:

SET BITS= 为 SET BITS=32

6,运行 Android Studio ,等5秒左右,出现了是否导入原来配置的对话框;直接点ok;

7,启动正常!

posted on 2014-02-10 19:02 顺其自然EVO 阅读(507) 评论(0)  编辑  收藏 所属分类: android


只有注册用户登录后才能发表评论。


网站导航:
 
<2019年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

导航

统计

常用链接

留言簿(54)

随笔分类

随笔档案

文章分类

文章档案

搜索

最新评论

阅读排行榜

评论排行榜