Skip to content

Graddle issue with test application #23403

Closed

Description

@Parag2385

Steps to Reproduce

  1. Install Flutter
  2. Run the default app in Android Studio

Logs

 Launching lib\main.dart on Pixel 2 XL in debug mode...

Initializing gradle...
Resolving dependencies...

  • Error running Gradle:
    Exit code 1 from: E:\Flutter Apps\hello_rectangle\flutter_app\android\gradlew.bat app:properties:
    Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

  • Where:
    Build file 'E:\Flutter Apps\hello_rectangle\flutter_app\android\app\build.gradle' line: 25

  • What went wrong:
    A problem occurred evaluating project ':app'.

Could not resolve all files for configuration 'classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

BUILD FAILED in 0s

Finished with error: Please review your Gradle project setup in the android/ folder.

Activity

  1. denzilferreira commented on Oct 23, 2018

    @denzilferreira

    Same issue here, seems that lint-gradle-api 26.1.2 is gone from jcenter...

  2. alichur commented on Oct 23, 2018

    @alichur

    Looks like there is a fix happening here #23397

  3. zoechi commented on Oct 24, 2018

    @zoechi
    Contributor

    Merging with 23404

  4. github-actions commented on Sep 1, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions