Skip to content Skip to sidebar Skip to footer

Android Studio Can't Resolve Gradle Project

When moving to a new computer I have lost a drive and now am using a different file path for my programming assets. When I start up one of my previous working projects in Android S

Solution 1:

I just ran into this problem when moving to a new computer.

What I did was choose to import a project (using build.gradle as import file) rather than open a project. When prompted about gradle information I didn't supply a gradle home but selected to use the gradle wrapper.

Solution 2:

Thanks for your suggestion oceansize42, but actually that didn't help me fix my problem as it reoccurred after I restarted Android Studio.

After some more searching,I found two files with references back to my old drive.

.idea\workspace.xml and .idea\gradle.xml

workspace.xml contained an option "KEY_STORE_PATH" that had an old path. gradle.xml contained my issue "externalProjectPath" that was giving me the error.

Changing both of these and then restarting fixed my issue completely.

Post a Comment for "Android Studio Can't Resolve Gradle Project"