简体   繁体   中英

Import project from Github to androidstudio (Gradle)

My team has a repository in bitbucket which I need to clone and use in my system. I tried VCS > checkout from Version control > Git then gave the repo url, path specifying the directory where the project has to be cloned and the project directory name.

The cloning went well and I can find the project dir in the filesystem. After that is asking some permission regarding gradle and asking for inputs regarding where the gradle is present. I selected the gradle in my android-studio and it accepted it. When I click ok it is throwing the following error.

The screenshot of gradle input: gradle输入的屏幕截图

The screenshot of error: 错误的屏幕截图

Then I went to my SDK manager and installed all the android versions from 2.3 to 6.0 . Still the error persists.

File->New->Project from version control->Git: Clone repository: Your bitbucket url

https://username@bitbucket.org/team/projectname.git

EDIT: Install sdk 23: http://developer.android.com/intl/es/tools/help/sdk-manager.html

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