Today I don’t know why there is an error after importing eclipse project, it is normal to use AS before importing

Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:25.+



First, click Install Repository.

But Installing Android Support Repository fails



Of course, you can still install the corresponding version of the API from the SDK

Second, click Show in Project Structure Dialog

Change your Compile SDK Version to select the appropriate API

At the same time change your budle.gradle change compile appropriate support

If you still have problems change gradle Settings (select your own directory file to install AS) AS shown in the figure below

Third, download services.gradle.org/distributio… For this version, the downloaded zip file was unzipped to the gradle directory in the AS installation directory or to the C:\Users\cq. Gradle \wrapper\dists\gradle-2.4-all*************** directory.

My problem is solved by the second way…