查看原文
其他

Android虚拟化系统

云天实验室 哆啦安全 2022-08-17

Ubuntu环境使用PPA安装Android Studio

为了在Ubuntu 18.04上安装Android Studio,需要添加存储库。然后需要更新包管理器索引。在此之后,可以在Ubuntu中安装Android Studio。要从要安装Android Studio的位置添加存储库,请输入以下命令。

sudo add-apt-repository ppa:maarten-fonville/android-studio


通过在终端中键入以下命令来更新apt包管理器索引

sudo apt update


Android Studio将从谷歌服务器下载,然后安装,成功安装后,转到活动搜索Android Studio。然后单击它以启动

sudo apt install android-studio




Ubuntu环境安装Android studio成功



如果没有找到Android Studio图标,请运行以下命令添加一个图标,再次搜索并启动它。系统将要求导入以前的设置

/opt/android-studio/bin/studio.sh



Android8.1(Nexus6)
https://wiki.lineageos.org/devices/shamu/build
https://github.com/LineageOS/android_device_moto_shamu
https://github.com/LineageOS/android_kernel_moto_shamu
https://github.com/MoKee/android_vendor_motorola_shamu
git clone https://github.com/LineageOS/android_device_moto_shamu.git -b lineage-15.1
git clone https://github.com/LineageOS/android_kernel_moto_shamu.git -b lineage-15.1
git clone https://github.com/MoKee/android_vendor_motorola_shamu.git -b mko-mr1


Android8.1(小米6)
https://wiki.lineageos.org/devices/sagit/build
git clone https://github.com/LineageOS/android_device_xiaomi_sagit.git -b lineage-15.1
git clone https://github.com/MoKee/android_device_xiaomi_msm8998-sagit.git -b mkp
git clone https://github.com/MoKee/android_device_xiaomi_sagit.git -b mko-mr1
git clone https://github.com/MoKee/android_vendor_xiaomi_sagit.git -b mko-mr1
git clone https://github.com/MoKee/android_vendor_xiaomi_msm8998-sagit.git -b mkp
git clone https://github.com/MoKee/android_kernel_xiaomi_sagit.git -b mkp


Android9.0(小米6)
https://wiki.lineageos.org/devices/sagit/build
git clone https://github.com/LineageOS/android_device_xiaomi_sagit.git -b lineage-16.0
git clone https://github.com/MoKee/android_device_xiaomi_msm8998-sagit.git -b mkp
git clone https://github.com/MoKee/android_device_xiaomi_sagit.git -b mkp
git clone https://github.com/MoKee/android_kernel_xiaomi_sagit.git -b mkp
git clone https://github.com/MoKee/android_vendor_xiaomi_sagit.git -b mkp
git clone https://github.com/MoKee/android_vendor_xiaomi_msm8998-sagit.git -b mkp
git clone https://github.com/LineageOS/android_kernel_xiaomi_msm8996.git -b lineage-16.0


Android studio导入Android8.1系统源码,打开文件出现只读权限问题



解决Android studio的只读权限问题的方法

sudo chown -R $USER Android8.1.0/



Android各版本系统源码(在线搜索)

http://androidxref.com

http://aospxref.com/




Android studio环境导入Android8.1系统源码(系统定制)

(1).数据隔离访问

(2).指定APP写入重定向模块

(3).指定目录写入重定向模块

(4).等等


Android8.1系统源码编译






您可能也对以下帖子感兴趣

文章有问题?点此查看未经处理的缓存