Error while evaluating property 'hasLocalAarDeps' of task ':camera_deep_ar:bundleDebugAar'
Error while evaluating property 'hasLocalAarDeps' of task ':camera_deep_ar:bundleDebugAar'
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :camera_deep_ar project caused this error: /Users/nuoxmini/fahad/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera_deep_ar-0.0.2+3/android/lib/deepar0.aar
gradle error
I am also facing the same problem and I am unable to find the solution.
Execution failed for task ':camera_deep_ar:bundleDebugAar'.
Error while evaluating property 'hasLocalAarDeps' of task ':camera_deep_ar:bundleDebugAar' Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :camera_deep_ar project caused this error: C:\src\flutter.pub-cache\hosted\pub.dartlang.org\camera_deep_ar-0.0.2+3\android\lib\deepar0.aar
I have founf the solution you have to use lower version of gradle ie
Hi, if you do want to use this plugin set the following:
Your project build.gradle classpath :
classpath 'com.android.tools.build:gradle:3.5.0'
set your app.gradle to:
compileSdkVersion 29 minSdkVersion 21 targetSdkVersion 29
set your gradle/wrapper/gradle-wrapper.properties to: distributionUrl=https://services.gradle.org/distributions/gradle-6.7-all.zip
this is a customized library for a particular feature i freely open-sourced!