Just trying out Android Studio. I have exported my project Gradle file from Eclipse and imported it into Android Studio.
The project will not build in Android Studio, it fails with a message saying
IllegalStateException: Unable to find Gradle home directory for project 'NVRRClubApp': Unable to find Gradle home directory for project 'NVRRClubApp'
I have no idea what my Gradle home directory should be, or even where to set it. I was hoping the import would have fixed that for me.
Any ideas how to start fixing this?
On your Android phone or tablet, open the Contacts app . At the bottom, tap Fix & manage Import from file. If you have multiple accounts on your device, pick the account where you want to save the contacts. Find and select the VCF file to import.
Select the source directory of the Module you want to import and click Finish. Open Project Structure Dialog (You can open the PSD by selecting File > Project Structure) and from the left panel click on Dependencies. Select the module from the Module(Middle) section In which you want to add module dependency.
Gradle needs a home directory to store its junk, like git. Choose a directory that is convenient for how your store your development files. Something that will get backed up when you back up your work.
Mine is: C:\Documents and Settings\GeorgeDeVargas\My Documents\Software
You will then likely get some java null pointer errors as you configure Android:
See http://forums.gradle.org/gradle/topics/error_compilejava_java_lang_nullpointerexception_no_error_message
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With