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 库。

相关推荐
流量猎手12 小时前
GitHub 使用说明
大数据·elasticsearch·github
Lesile13 小时前
Interview#1 历史演进:MVC · MVP · MVVM · MVI架构详解
android·android jetpack
杉氧14 小时前
Flutter 像素级还原实战:用 CustomPaint 与 Bezier 曲线手绘精致图针
android·前端·flutter
我命由我1234516 小时前
Android 在构建过程中,发现有两个依赖库都包含了相同路径的资源文件
android·java·开发语言·java-ee·kotlin·android-studio·android runtime
Coffeeee17 小时前
谷歌的一个优化建议,让我重新学了一遍Android里面如何正确处理位图
android·google·kotlin
冰暮流星17 小时前
mysql之新建表及对表的查询
android·数据库·mysql
用户20187928316717 小时前
彻底搞懂LayoutInflater、ViewInflater与textViewStyle优先级:XML属性为何能覆盖全局样式?
android
达达尼昂17 小时前
AI Native 工程实践:如何为 Claude 5 设计更有效的上下文
android·人工智能·后端
Cry丶18 小时前
【已解决】adb devices 能识别手机,但 HBuilderX 搜索不到设备的避坑指南
android·adb·uni-app·hbuilderx·真机调试
HelloGitHub19 小时前
《HelloGitHub》第 124 期
开源·github