Using Github with Android Studio

转载 2016年05月31日 17:29:25

Using Github with Android Studio

Published by Michael Carrano on October 25, 2013

Google announced Android Studio at Google I/O but I have not started to use it until recently. Android Studio is at version 0.3.1 at the time of this writing and receives rapid updates.

Android Studio seems to have a much more seamless integration with VCS such as Git than Eclipse. In particular you can easily share your project onGithub.

To use Android Studio with Github, it is as simple as:

  • Opening the project you want to share to Github
  • VCS –> Import into Version Control –> Share project on Github
  • Enter your Github credentials *
  • Enter the project description and whether or not you want it to be private

If you have two factor authentication setup on Github then you will need to generate aPersonal Access Token.

If you do not use the personal access token, then you will run into this error: “Can’t login: Request response: Unauthorized - Must specify two-factor authentication OTP code.”

It took me a moment to realize that error was referring to the personal access token since I have only ever set one up once before on Github.


Error:(2, 0) Plugin with id '' not found在Studio里导入moudle时报错解决方案

今天在给项目添加一个moudle依赖时,出现了如下错误.   Error:(2, 0) Plugin with id '' not ...

Android Studio 与 Github 的使用 (创建一个 Android 工程 with Git 命令行)

workspace: 本地的工作空间。 index:缓存区域,临时保存本地改动。 local repository: 本地仓库,指向最后一次提交HEAD。 remote repository:远程仓库...

项目管理实践【五】自动编译和发布网站【Using Visual Studio with Source Control System to build and publish website automatically】

在上一篇教程项目管理实践【三】每日构建【Daily Build Using CruiseControl.NET and MSBuild】 中,我们讲解了如何使用CCNET+MSBuild来自动编译项目...

Using OpenCV 2.4.x with Visual Studio 2010 (tutorial)

Using OpenCV 2.4.x with Visual Studio 2010 (tutorial) BITKIDOKU , WEDNESDAY, 3 OCTOBER 2012 ...

Using #region Directive With JavaScript Files in Visual Studio

本文转载自: 这是一个不错的小创意,可...

Android ImageLoader must be init with configuration before using 错误解决方法

开发过程中用到了开源项目Android-Universal-Image-Loader,Universal-Image-Loader,一个强大的图片加载框架,具有以下的特性: 1、多线程下载图片,图片可...