llfbandit / app_links

Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler for Flutter.
https://pub.dev/packages/app_links
Apache License 2.0
176 stars 68 forks source link

Update build.gradle to add support for Android Gradle Plugin 8. #57

Closed gamer3dx closed 1 year ago

gamer3dx commented 1 year ago

When building my app using this library with Gradle 8.1 and AGP 8.0.1, I encountered this error:

A problem occurred configuring project ':app_links'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified.

This is a breaking required change for AGP 8.0.1, which is available only from AGP 7.3, so I also updated to AGP 7.3.1, which is compatible with currently used Gradle Wrapper.

llfbandit commented 1 year ago

Thanks for the contribution. This has been fixed with 181fdcc.