手机
当前位置:查字典教程网 >软件教程 >编程开发 >谷歌android apk开发工具Android Studio安装使用图文教程
谷歌android apk开发工具Android Studio安装使用图文教程
摘要:下载地址如下:https://developer.android.com/sdk/installing/studio.html很显然的Int...

下载地址如下:

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

很显然的IntelliJ IDEA的样貌,下面是一些截图:

谷歌android apk开发工具Android Studio安装使用图文教程1

选择了“New Project”

谷歌android apk开发工具Android Studio安装使用图文教程2

给工程和包起个名字

谷歌android apk开发工具Android Studio安装使用图文教程3

创建自定义图标

谷歌android apk开发工具Android Studio安装使用图文教程4

选择工程类型

谷歌android apk开发工具Android Studio安装使用图文教程5

给工程定个名字

谷歌android apk开发工具Android Studio安装使用图文教程6

开始创建。

向导基本上和Eclipse差不多。不过这个创建过程可比Eclipse上长的多。主要是因为从gradle上下载。

工程的结构和Eclipse上的不同,src下分为java和res

谷歌android apk开发工具Android Studio安装使用图文教程7

可以直接选择ADT中配置好的Emulators

谷歌android apk开发工具Android Studio安装使用图文教程8

运行还是在已有的Emulator上。

下面是导入的界面:

选择一个工程

谷歌android apk开发工具Android Studio安装使用图文教程9

然后是询问从哪里导入

谷歌android apk开发工具Android Studio安装使用图文教程10

然后是设定名字和路径

谷歌android apk开发工具Android Studio安装使用图文教程11

选择库

谷歌android apk开发工具Android Studio安装使用图文教程12

选择工程模块

谷歌android apk开发工具Android Studio安装使用图文教程13

选择库

java的

谷歌android apk开发工具Android Studio安装使用图文教程14

android的

谷歌android apk开发工具Android Studio安装使用图文教程15

但是有两个jar文件没找到——前瞻版里没有这个文件,只好找以前安装的包里的同名文件

谷歌android apk开发工具Android Studio安装使用图文教程16

询问AndroidManifest.xml文件

谷歌android apk开发工具Android Studio安装使用图文教程17

询问是否加入Git

谷歌android apk开发工具Android Studio安装使用图文教程18

工程结构,和Eclipse上的一样。

模拟器半天没起来,用Eclipse启动了模拟器,Android Studio的DDMS又找不到设备,

然后重新尝试,又起来了。DDMS的样子,和Eclipse上的一样。

谷歌android apk开发工具Android Studio安装使用图文教程19

发布仍然不成功:下面是控制台Log。

Waiting for device.

"/Applications/Android Studio.app/sdk/tools/emulator" -avd Nexus -netspeed full -netdelay none

WARNING: Data partition already in use. Changes will not persist!

WARNING: SD Card image already in use: /Users/stephenwang/.android/avd/Nexus.avd/sdcard.img

WARNING: Cache partition already in use. Changes will not persist!

emulator: emulator window was out of view and was recentered

Device connected: emulator-5556

Device is online: emulator-5556

Target device: emulator-5556 (Nexus)

Uploading file

local path: /development/workspace/KingOfAir/out/production/KingOfAir/KingOfAir.apk

remote path: /data/local/tmp/com.octrois.koa

Installing com.octrois.koa

DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.octrois.koa"

Device is not ready. Waiting for 20 sec.

DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.octrois.koa"

Device is not ready. Waiting for 20 sec.

终于起来了,就是一个字:慢!

谷歌android apk开发工具Android Studio安装使用图文教程20

查字典教程网提供的下载地址 http://www.jb51.net/softs/83206.html

【谷歌android apk开发工具Android Studio安装使用图文教程】相关文章:

微软源代码管理工具TFS2013安装与使用图文教程

Android studio怎么使用git获取最新内容然后合并?

Android studio怎么使用git? 使用git查看本地与远程仓库文件的教程

Android Studio中怎么设置工作空间编码?

VS2010超赞的扩展辅助工具使用总结

Android studio怎么快速切换快捷键映射?

Java Runtime Environment怎么安装 JRE安装详细图文教程

AndroidStudio怎么加载并使用okHttp?

Ulipad安装、配置使用教程(附Ulipad下载)

Windows下MariaDB数据库安装图文教程

精品推荐
分类导航