I need to be able to import all of our projects in android studio and i need to be able to import just a single project, and its dependencies, into android studio.
Current project structure:
- branch/
- Apps/
- Project1/
- build.gradle
- Project2/
- build.gradle
- Project3/
- build.gradle
- build.gradle
- settings.gradle
- gradlew
- gradlew.bat
- gradle/
- Project1/
- OtherStuff/
- Apps/
I can import the branch/Apps/build.gradle fine and it imports all the projects under Apps and compiles all the projects in settings.gradle and works fine. However, i also need to be able to import just one project, and its dependencies, into android studio and it work fine.
Right now when i try to import the branch/Apps/Project1/build.gradle Android studio gives the following error:
You are using an old, unsupported version of Gradle. Please use version 1.8 or greater.
Please point to a supported Gradle version in the project's Gradle settings or in the project's Gradle wrapper (if applicable.)
How can i import a single project and have it use the gradle wrapper that the MASS import of all the projects is using? Or is there a better way to handle this situation? Maybe i am just doing it completely wrong.
This effects Android Studio Version is 0.3.7 and 0.4.0.
Thanks