Skip to content

Error after adding url_launcher plugin #39608

Closed

Description

@Faiyyaz
  • Error running Gradle:
ProcessException: Process "/Users/faiyyazkhatri/StudioProjects/Flutter/Projects/primetime/android/gradlew" exited abnormally:

FAILURE: Build failed with an exception.
  • What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve com.android.tools.build:gradle:3.4.2.
     Required by:
         project :
      > Could not resolve com.android.tools.build:gradle:3.4.2.
         > sun.security.internal.spec.TlsMasterSecretParameterSpec.getExtendedMasterSecretSessionHash()[B
      > Could not resolve com.android.tools.build:gradle:3.4.2.
         > sun.security.internal.spec.TlsMasterSecretParameterSpec.getExtendedMasterSecretSessionHash()[B
      > Could not resolve com.android.tools.build:gradle:3.4.2.
         > sun.security.internal.spec.TlsMasterSecretParameterSpec.getExtendedMasterSecretSessionHash()[B

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
  Command: /Users/faiyyazkhatri/StudioProjects/Flutter/Projects/primetime/android/gradlew app:properties

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

Activity

  1. GaspardMerten commented on Sep 1, 2019

    @GaspardMerten

    Are you on the latest Flutter version? And mb if you did, make sure you migrated to androidX!

  2. BondarenkoStas commented on Sep 2, 2019

    @BondarenkoStas

    This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. @Faiyyaz see also https://flutter.dev/community for support options.
    Please also report if you managed to solve the issue.

  3. added
    d: stackoverflowGood question for Stack Overflow
    t: gradle"flutter build" and "flutter run" on Android
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Sep 2, 2019
  4. Faiyyaz commented on Sep 3, 2019

    @Faiyyaz
    Author

    I have androidx project with latest version of the plugin and after commenting the plugin project works fine

  5. jonahwilliams commented on Feb 7, 2020

    @jonahwilliams
    Contributor

    Sounds like this issue was resolved

  6. github-actions commented on Aug 23, 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.

  7. locked as resolved and limited conversation to collaborators on Aug 23, 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

    d: stackoverflowGood question for Stack Overflowt: gradle"flutter build" and "flutter run" on AndroidtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions