ubuntu14.04 cm12.0 genymotion

前几天在ubuntu14.04编译过android5.0.1源码,但是呢?不知怎么运行不起来,后来又试了试把img文件在win平台运行虚拟机不知怎么还是不行,再后来想通过刷机运行学习framework。

https://cyanogenmodroms.com/hammerhead/#Initialize_the_CyanogenMod_source_repository

本来想着下载cm12.0 源码 环境,但是失败,参考环境:

https://www.cnblogs.com/helinzi/p/4428587.html

遇到错误:

root@UbuntuAndroidCom:/work/android/system# repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: https
fatal: cloning the git-repo repository failed, will remove '.repo/repo' 

搞的环境乱七八糟,androidstudio的虚拟机又起不来了:

Cannot launch AVD in emulator. Output: PANIC: Missing emulator engine progra

所以重新安装androidstudio 和 Genymotion,参考视频:

https://www.bilibili.com/video/BV1A7411p7eP?from=search&seid=10371604074564952913
genymotion-2.3.1-vbox.exe虚拟机下载、安装

链接:http://pan.baidu.com/s/1nvMZMTN 密码:jwze

原文地址:https://www.cnblogs.com/RoyalGuardsTomCat/p/14501498.html