Skip to content

There was a problem exporting the apk, andriod X is not supported #618

@Frank0945

Description

@Frank0945

Just run "flutter build apk"

Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 55.1s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin flutter_webview_plugin...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 1.0s
*********************************************************
WARNING: This version of flutter_webview_plugin will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
*********************************************************

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'flutter_webview_plugin'.

The SDK directory 'C:\Users\Gloria\AppData\Local\Android\Sdk' does not exist.

  • 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 0s

The plugin flutter_webview_plugin could not be built due to the issue above.

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