Android Studio 的github 工程克隆

上文介绍了Android Studio 里的"Git 建立和简单操作。本文介绍从github 上的工程fork 和clone到本地,然后学习和改进。

本文参考 https://learntodroid.com/how-to-use-git-and-github-in-android-studio/

克隆clone Github 仓库:

先 Fork 你选择的仓库到你的github 仓库。操作如下:

这一步不是必须的,但这样做了比较方便。你可以修改后push 上去。

在你的Android Studio 里,菜单 File-> New-> Project from Version Control 打开克隆界面

克隆界面如下:

在这个界面里需要输入克隆的网址,这是从下面操作中得到,当然你也可以自己输入,只是这样准确和简单一点。

经过上面操作后,github 的库就到你本地了,你可以checkout 各个版本,也可以修改上传你自己的github 库。

相关推荐
帅得不敢出门32 分钟前
Android各芯片平台日志打开及获取
android
极客小云39 分钟前
【Android Gradle 构建常见报错及解决方法大全】
android·运维开发
Just_Paranoid1 小时前
【TaskbarDelegate】屏蔽上滑返回桌面手势功能
android·systemui·navigation·launcher·gesture
赛恩斯2 小时前
asfp 如何导入并使用aosp13
android
诸神黄昏EX2 小时前
Android Safety 系列专题【篇三:Secure Boot机制】
android
李坤林3 小时前
Android Binder 详解(4) Binder 线程池
android·java·binder
PuddingSama4 小时前
Gson 很好,但在Kotlin上有更合适的序列化工具「Kotlin Serialization」
android·kotlin·gson
教程分享大师4 小时前
移动云电脑W132D安卓9当贝固件线刷机包_ROM刷机教程
android
程序之巅4 小时前
VS code 远程python代码debug
android·java·python
奔跑草-5 小时前
【AI日报】每日AI最新消息2026-01-06
人工智能·github