question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Checkout project from GitHub not working in Android Studio 3

See original GitHub issue

Summary

Creating a new Android Studio 3 project from GitHub site doesn’t work

Library version

1.4.3

Preconditions

Android Studio 3.0.1

Steps to reproduce actual result


1. In the “Welcome to Android Studio” window, select “check out project from Version Control”, selecting GitHub
2. For the Git Repository URL, use “https://github.com/Polidea/RxAndroidBle.git” (Test button reports success)
3. Click “Clone” and select “Yes” to creating a studio project
4. In the “Import Project” window, leave “Import project from external model” selected, and leave the first “Gradle” selected in the window (there are 2 identical listings for “Gradle”)
5. Click “Next”, and in the next window, leave the recommended “Use default Gradle wrapper” selected; click “Finish”
6. Android Studio starts creating a project

Minimum code snippet reproducing the issue

N/A

Logs from the application running with setting RxBleLog.setLogLevel(RxBleLog.VERBOSE)

N/A

Actual result

A message window appears: “The modules below are not imported from Gradle anymore. Check those to be removed from the ide project too:” (only RxAndroidBle is shown, with its box checked)

Expected result

A working project is created.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
oerjanticommented, Nov 28, 2017

After updating Studio from 2.x to 3.0.1 I got it working by updating Gradle version manually in: File > Project Structure > Project Gradle version: 4.3 Android plugin version: 3.0.1

I did not get the error about module import but I hope this helps

0reactions
edgarolijarcommented, Oct 31, 2020

Try to see if you haven’t installed the git on your PC. If not then install that would probably resolve your problem.

@irshadbabar Maybe he didn’t install OS on his PC?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Checkout project from GitHub not working in Android Studio 3
1. In the "Welcome to Android Studio" window, select "check out project from Version Control", selecting GitHub · 2. For the Git Repository...
Read more >
Can't checkout projects from Github in Android Studio 3.2
Just select Git and paste your repository URL. This worked for me (also with a private repository). Just make sure that your GitHub...
Read more >
How to Clone Android Project from GitHub in Android Studio?
Step 1: Click on the Checkout Project from Version Control. In Version control choose Git from the drop-down menu. Step 2: Then a...
Read more >
Downloading the Source - Android Open Source Project
The Git repository includes metadata for the Android source, including changes to the source and when the changes were made. This page describes ......
Read more >
How to use GitHub with Android Studio - London App Developer
Next, jump back into Android Studio, right click your projects root directory and select Git > Add. This will add all your project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found