Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import Android-Gradle project into Android Studio

Tags:

android

import

I'm trying to import a project that I created in another machine using Android Studio, to a new machine, using the same software.

I select "Import project (Eclipse ADT, Gradle, etc.)", then select the folder, that have the following structure:

  app
  build.gradle
  build
  gradle
  gradle.properties
  gradlew
  gradlew.bat
  local.properties
  settings.gradle

The problem is that I cant setup the project like in the other machine, were i created it. In the "Project > Android" appears "Nothing to show".

like image 739
David Magalhães Avatar asked Apr 21 '15 02:04

David Magalhães


1 Answers

Instead of selecting "Import project (Eclipse ADT, Gradle, etc.)," select "Open an existing Android Studio project" then navigate to the topmost build.gradle file of your project.

like image 166
Ace Siena Avatar answered Sep 30 '22 03:09

Ace Siena