You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encounter an issue with the package when I try to build an APK with the "flutter build apk" command.
the error is:
* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
/Users/username/appLocation/android/app/src/main/AndroidManifest.xml:9:5-33:19: AAPT: error: attribute android:requestLegacyExternalStorage not found.
* 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 1m 34s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 95.0s
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 image_crop...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 1.6s
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'image_crop'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/mohammadamir/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_crop-0.3.4/android/local.properties'.
* 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 1s
The plugin image_crop could not be built due to the issue above.
The text was updated successfully, but these errors were encountered:
I encounter an issue with the package when I try to build an APK with the "flutter build apk" command.
the error is:
The text was updated successfully, but these errors were encountered: