Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct local .aar file dependencies are not supported when building an AAR #8

Open
hernan74 opened this issue Sep 22, 2021 · 2 comments

Comments

@hernan74
Copy link

I am trying to create an example app using the flutter sdk but when I want to run the app it generates the following error:
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 :augmented_reality_plugin_wikitude project caused this error: <project_directory>\ejemplo_wikitude\wikitude_flutter_plugin\android\wikitudesdk\wikitudesdk.aar

@aitor-wikitude
Copy link

Hi hernan,

We could reproduce this issue some weeks ago and have a fix for it that will be available in the next release that should happen soon. Sorry for the inconvenience.

Regards,
Aitor.

@hernan74
Copy link
Author

hernan74 commented Oct 1, 2021

hello what was generating the error was the version of the com.android.tools.build:gradle
version that does not work:
classpath 'com.android.tools.build:gradle:4.1.0'
version that works:
classpath 'com.android.tools.build:gradle:3.6.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants