简体   繁体   中英

Android Studio - create new project in empty SVN repo

In Eclipse, using the Subclipse plugin, I could create an empty SVN repo and then use the "Checkout as a project using the new project wizard" option to create a new Android project and immediately commit it to the empty SVN repo. In Android Studio I haven't found a way to do that without first creating the project, then importing it into version control and then checking it out again. I must be doing something wrong, help please.

You can get answer here Using SVN in Android Studio

  1. If you create a new project that is not in your SVN repo, you need to import the project first (select "VCS" => "Import into version control" => "Import into subversion")

  2. Add your repo address to it, for example, for the lab1 submission, the repo should be “ https://svn.cs.dartmouth.edu/classes/cs65-W15/Your_Name/Lab1_submission/ ”(You don't have to create the Lab1_submission on svn in advance, it will create it for you if it doesn't exist).

  3. Then choose your project folder, and click “import”.

  4. Type your commit message, and click “OK”.
  5. You may need to enter your SVN credentials.

Please follow rest of the steps from link Using SVN in Android Studio

You can also follow Android Studio and Subversion

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM