1.1 Building Your First App

Welcome to Android application development!

This class teaches you how to build your first Android app. You’ll learn how to create an Android project and run a debuggable version of the app. You'll also learn some fundamentals of Android app design, including how to build a simple user interface and handle user input.

Set Up Your Environment


Before you start this class, be sure you have your development environment set up. You need to:

  1. Download Android Studio.
  2. Download the latest SDK tools and platforms using the SDK Manager.

Note: Although most of this training class expects that you're using Android Studio, some procedures include alternative instructions for using the SDK tools from the command line instead.

This class uses a tutorial format to create a small Android app that teaches you some fundamental concepts about Android development, so it's important that you follow each step.

(下载完整版本的Android Studio,可以不用下载SDK)

1,下载

去官网下载的最新版本
android-studio-bundle-141.2456560-windows.exe
这个是windows的安装版本,包括的比较全面

2,安装
这个版本安装之前不需要安装Android SDK,安装包里面已经包含了SDK
安装的时候一路下一步

3,第一次启动的配置
安装完成之后,打开Android Studio,配置过程中,选择自定义安装,默认没有选择虚拟机,我又选择了虚拟机,大概需要1G空间
配置过程中,会提示SDK的下载,如果这个过程中出错,下次再打开Android Studio的时候,会继续提示对软件进行配置的

4,注意,我的Android Studio版本
看别人的安装和配置指南,版本一定要对应上,不然安装和配置过程中差别还是有的


5,更新SDK
【文章】Android SDK Manager 更新代理配置(博客作者是2015年1月发布的,我找到的时候是2016年3月,1年了代理依旧有效)
http://www.cnblogs.com/sunzn/p/4242131.html
1、启动 Android SDK Manager ,打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口;
2、在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入 mirrors.neusoft.edu.cn 和 80,
并且选中「Force https://... sources to be fetched using http://...」复选框。
设置完成后单击「Close」按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;
3、依次选择「Packages」、「Reload」。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值