摘要: 在build.gradle(Module: app)文件中,增加:android { signingConfigs { debug { storeFile file("your.keystore") } }}参考:http://stack... 阅读全文
posted @ 2015-03-05 12:02 CokeKevin 阅读(3797) 评论(0) 推荐(0) 编辑
摘要: 六. 常见编译错误 在新安装的Ubuntu系统下,第一次编译Android源码问题很多。以下都是在执行make命令后,编译过程中出现的问题。 原则是make遇到缺什么就安装什么,通过Google+ Baidu 搜索报错。错误:/bin/bash: build/core/find-jdk-tools... 阅读全文
posted @ 2014-12-31 14:34 CokeKevin 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 一. 编译Android源码5.1 初始化环境变量1 $ source build/envsetup.sh2 $ . build/envsetup.sh3 $ lunch full-eng5.2 编译Android系统1 $ make –jN其中N参数代表你计算机的线程参数,数字越大,编译速度越... 阅读全文
posted @ 2014-12-31 14:22 CokeKevin 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 三. Ubuntu系统Android编译环境配置3.1 选择安装源: 系统安装完成后,进入系统时首先选择好软件更新源,后面所有的软件包安装都会从这个更新源中获取。选择路径:System settings --> Software & Updates -->Ubuntu Software -->D... 阅读全文
posted @ 2014-12-31 14:05 CokeKevin 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 二.Ubuntu安装和设置 2.1 原料VMware Workstation 11Ubuntu 14.04 x64位 iso镜像文件Android4.1源码(Jelly Bean) 2.2 安装和设置选择Ubuntu安装镜像:(Android2.3之后的版本,必须使用64位系统编译) 创建账户... 阅读全文
posted @ 2014-12-31 12:35 CokeKevin 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 一. Android概况 1.1 简介 Android是一种基于Linux的自由及开放源代码的操作系统。主要用于移动设备,如智能手机、平板电脑、TV、穿戴设备,由Google公司和开放手机联盟领导及开发。Android操作系统最初由Andy Rubin开发,主要支持手机。2005年8月由Goo... 阅读全文
posted @ 2014-12-31 11:42 CokeKevin 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 一. 问题:Ubuntu启动后进入界面时,报错误Could not apply the stored configuration for monitors,分辨率无法设置二. 解决: 删除monitors.xml文件1 sudo rm -f ~/.config/monitors.xml 阅读全文
posted @ 2014-12-23 17:48 CokeKevin 阅读(2506) 评论(0) 推荐(0) 编辑
摘要: 一. 问题:Ubuntu安装更新时,提示Requires installation of untrusted packages错误。二.解决:在Update Mananger中设置更新服务器为中国即可。设置路径:Update Manager--->Settings--->Ubuntu Softwar... 阅读全文
posted @ 2014-12-23 17:00 CokeKevin 阅读(1667) 评论(0) 推荐(0) 编辑