I'm trying to migrate my gradle version to the lastest but I get this problem when I choose 7.0+ versions of Gradle on Android Studio:
Gradle sync failed: Could not create task ':shared_preferences_android:generateDebugUnitTestConfig'.This and base files have different roots: D:\path\build\shared_preferences_android and C:\flutter\flutter\.pubcache\hosted\pub.dartlang.org\shared_preferences_android-2.0.12\android.
I have my flutter project on a different drive than Android Studio. Is there any version of Gradle/Android that I need to change? Or do I need to migrate my project to the other drive?