最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】尝试Android的新的开发工具IDE:Android Studio

Android crifan 2853浏览 0评论

【背景】

刚听说了,android的新的开发IDE环境,Android Studio,所以去主页:

http://developer.android.com/sdk/installing/studio.html

看看。

注意到,其提示是:

Caution: Android Studio is currently available as an early access preview.

即,早期预览版

意味着,万一出了点问题,也是正常的。

【折腾过程】

1.不管,先去下载试试:

get start with android studio

agree with terms and conditions

结果是375MB,下载速度很慢,只能慢慢等等了。

 

2.终于下载完毕了:

android-studio-bundle-130.687321-windows.exe

双击安装:

welcome to the android studio setup wizard

detect java install path

install anyone using this computer

choose install location for android studio

choose start menu folder for android studio

install completed for android studio

start android studio

3.安装完毕后,启动:

android studio taskbar icon and no prev version no import settings

启动界面效果还不错:

launching ui for android studio

4.然后去新建一个项目:

new project for android studio

然后顺带看看,各种配置选项的其他可选项:

check more for minimum required SDK

see more for target sdk

see for compile with

check more theme

然后总体配置如下:

new project whole settings

图标等配置用默认的:

foreground image file etc settings

然后再看看不同类型的Activity的效果:

blank activity effect

fullscreen activity effect

login activity effect

master detail flow effect

settings activity

 

最后还是用第一个Blank Activity,下一步,是配置Activity的:

mainactivity and activity_main

完成。

5.结果还是一堆的防火墙的提示:

popup firewall ask for android studio windows launcher

然后看到正在为gradle下载东西:

building gradle project info downloading

还有其他一些提示:

also ask for java tm platform se binary

then still for java exe

继续下载:

still downloading files for gradle

最终,终于是可以进入Android Studio的主页面了:

android studio main ui and tip of the day

6.好吧,就顺带看看这些提示吧:

【记录】Android Studio中的快捷键和其他有用的提示

7.然后点击左边,显示出项目:

click left then show projects

然后找到MainActivity:

browse src main java mainActivity

然后再去运行试试:

run run project shift F10

wait for adb

结果有点意外的是,竟然可以找到之前的,在别的ADT中创建的AVD:

launch emulator can found previously avd

选择这个默认的AVD:

choose this avd

去试试效果:

waiting for device for avd

不过一直没弹出模拟器。

当然,花点时间,去创建对应的avd,肯定是可以的。

8.另外,随便看了看:

20130621_125915

结果竟然是打开之前的ADT中的AVD Manager:

20130621_125928

9.算了,暂时没啥兴趣,所以懒得继续折腾这个了。

 

【总结】

感觉一般,等以后更好的版本出来,再说吧。

转载请注明:在路上 » 【记录】尝试Android的新的开发工具IDE:Android Studio

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.177 seconds, using 22.18MB memory