安裝 Android Development Environment

http://www.cnblogs.com/youchihwang/p/6645880.html

除了上述還得安裝,

sudo apt-get install phablet-tools
  1. modify bash shell
sudo dpkg-reconfigure dash

answer : no

  1. Installing Repo
mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH

generate ssh-keygen

right : $ ssh-keygen -t rsa -C "your_email@example.com"

error : $ ssh-keygen -t rsa -C your_email@example.com

$ ssh-keygen -t rsa -C "your_email@example.com"
$ cat ~/.ssh/id_rsa.pub

copy below the content of the id_rsa.pub, then paste below path

gerrit -> Settings -> SSH Public Keys -> Add Key -> paste -> Add -> Close

wait a moment or restart ubuntu

setting your .gitconfig

start download source code of your company code

  1. ARM Compiler Tools 5.01 update 3 (build 94)

    https://developer.arm.com/products/software-development-tools/compilers/legacy-compiler-releases

    unzip file
   sudo Installer/setup.sh

ARM Compiler Tools 需要 license,

但公司已申請好,

只要在 build code 前,執行以下指令即可,

export ARMLMD_LICENSE_FILE=8224@orcad-srv.xxxxxxxxx.com.tw

  1. Hexagon.LNX.6.4 Installer

    https://createpoint.qti.qualcomm.com/tools/#suite/260/1222

    注意:要選 06406.1 版本

    unzip file,要解兩次喔!

    安裝時要連外網
   chmod +x Install_HEXAGON_Tools_linux_6.4.06.bin
sudo ./Install_HEXAGON_Tools_linux_6.4.06.bin

安裝過程中,需要打勾,上面寫的, Agree to download GNU tools

  1. Qualcomm AMSS chip code

    apq8009-la-2-0-2_amss_standard_oem

    r00033.1

    https://chipcode.qti.qualcomm.com/your-corporation/apq8009-la-2-0-2_amss_standard_oem/tree/r00033.1

uninstall

uninstall Hexagon tool

If you use root to install Hexagon tool, the folder will be installed to /root/Qualcomm.

then

If you uninstall Hexagon tool, you have to use below command to use root priority

sudo su root
root@ubuntu:~/Qualcomm/HEXAGON_Tools/6.4.06/Uninstall_Hexagon_Tools# ./Uninstall_Hexagon_Tools

troubleshooting

error message :

object eceeb1b1f5edb0f42e690bffdf81828abd8ea7fe
type commit
tag v1.12.37
tagger Dan Willemsen <dwillemsen@google.com> 1475173621 -0700 repo v1.12.37 gpg: WARNING: unsafe ownership on homedir `/home/break-through/.repoconfig/gnupg'
gpg: failed to create temporary file `/home/break-through/.repoconfig/gnupg/.#lk0x268b340.ubuntu.2951': Permission denied
gpg: keyblock resource `/home/break-through/.repoconfig/gnupg/pubring.gpg': general error
gpg: Signature made Thu 29 Sep 2016 11:27:01 AM PDT using DSA key ID 920F5C65
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.37'

solution :

Please delete the .repo folder your project code

Please delete /home/break-through/.repoconfig/

sudo rm /home/project-code/ -rf
sudo rm /home/break-through/.repoconfig/ -rf

最新文章

  1. codeforces194a
  2. 小觑数据库(SqlServer)查询语句执行过程
  3. const define 定义常量的区别
  4. iOS8新特性之基于地理位置的消息通知UILocalNotification
  5. 【新发现】不用苹果开发账号就能申请ios证书真机调试
  6. 华为mate10 UA
  7. JavaScript 中的 FileReader
  8. ABP框架系列之二十八:(Handling-Exceptions-异常处理)
  9. java学习笔记27(File类)
  10. ST算法详解
  11. [Shell] Backtick vs $() 两种方式内嵌值
  12. 在HTML中实现和使用遮罩层
  13. 阿里云96页报告详解《云上转型》(10个案例、10大趋势/完整版PPT)
  14. Android英文文档翻译系列(3)——AsyncTask
  15. navicat 激活流程
  16. asp.net mvc4中Json的应用
  17. 【BZOJ】1914: [Usaco2010 OPen]Triangle Counting 数三角形
  18. C# WinForm 异步执行耗时操作并将过程显示在界面中
  19. 最近的一些零碎知识点,jquery遍历
  20. 项目中遇到的问题:前台 disabled 与 后台disabled

热门文章

  1. Spinal Tap Case -freecodecamp算法题目
  2. C++ Primer读书笔记(一)第一篇:C++概述,第一章:开始
  3. Python爬虫系列-Selenium详解
  4. leetcode-26-exercise_linked-list
  5. 二叉排序树:POJ2418-Hardwood Species(外加字符串处理)
  6. ACM-ICPC 2018 徐州赛区网络预赛 B. BE, GE or NE
  7. Linux学习-登录档的轮替(logrotate)
  8. 00018_流程控制语句switch
  9. MySQL 表数据的导入导出
  10. hiho编程练习赛20