Could not determine the class-path for interface com.android.builder.model.AndroidProject

后端 未结 7 434
梦谈多话
梦谈多话 2021-01-30 08:10

When I import an Eclipse project into Android Studio, I got this problem: Gradle \'XNote\' project refresh failed Error:Could not determine the class-path for interfa

7条回答
  •  后悔当初
    2021-01-30 09:07

    Palanivelraghul was right. A Studio has to download the old version. Then it presented 3 different options after it was complete.

    Choose the top option ~"Sync with 3.0.1".

    Event Log:

    Gradle sync started > Project setup started > Gradle sync finished > Executing tasks:
    
    [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar] > Gradle build finished.
    

提交回复
热议问题