

If none of them worked, worth trying below options :D,

Locate the library that raised the issue.If not upgarded those packages, you can follow below by opening flutter root android directory in android studio. Ofcourse you can edit your plugin build gradle but I do not recommend that.įirst, Try upgrading packages that are not updated. If this not solved your problem may be one of your plugin is the problem. Try setting compileSdkVersion 28 or 29 to app/adle. Or else maybe because your compileSdkVersion is lower than 28, android/gradle.properties must contain: eAndroidX=true In an app or module project, the file android/gradle.properties or. Next, May be you are using AndroidX packages within your app but your app not migrated to use AndroidX. The plugin agora_rtc_engine could not be built due to the issue above.įirst, flutter build apk by default uses argument -release. 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/jeshurun/flutter/.pub-cache/hosted//agora_rtc_engine-1.0.12/android/local.properties'.

Done 1.7sĬould not determine the dependencies of task ':compileReleaseAidl'. Running Gradle task 'assembleAarRelease'. The tool is about to try using Jetfier to solve the incompatibility. The built failed likely due to AndroidX incompatibilities in a plugin. Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. Please update adle.Įxecution failed for task ':device_info:verifyReleaseResources'.Ĭom.tasks.Workers$ActionFacadeĬom.v2.Aapt2Exception: Android resource linking failed Plugin project :cloud_firestore_web not found. Plugin project :firebase_core_web not found. If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.įlutter build appbundle -target-platform android-arm,android-arm64,android-圆4įlutter build apk -target-platform android-arm,android-arm64,android-圆4 -split-per-abi You are building a fat APK that includes binaries for android-arm, android-arm64, android-圆4.

TYSONs-MacBook-Air:chats jeshurun$ flutter build apk -release
