Error generating signed apk in Android Studio

0

I recently upgraded to version 3.1.3 and since then I can no longer generate any signed APK.

The error you give is as follows:

Could not find com.android.tools.lint:lint-gradle:26.1.3.
Searched in the following locations:
    file:/C:/Users/Gabriel/AppData/Local/Android/sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
    file:/C:/Users/Gabriel/AppData/Local/Android/sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
    file:/C:/Users/Gabriel/AppData/Local/Android/sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
    file:/C:/Users/Gabriel/AppData/Local/Android/sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
    file:/C:/Users/Gabriel/AppData/Local/Android/sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
    file:/C:/Users/Gabriel/AppData/Local/Android/sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
    https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
    https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
Required by:
    project :app

When I went to look at the folder, there is no folder tools in any of those that are saying in the error. I tried to put it manually along with the respective file that I found, but it did not work too.

When I go only to " Build APK " there is no error.

    
asked by anonymous 21.06.2018 / 07:45

0 answers