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
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Building for Android produces deprecation warnings;
You are applying Flutter's app_plugin_loader Gradle plugin imperatively
using the apply script method, which is deprecated and will be removed in a future release.
You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block.
Now when I try to build for android, it produces this error
A problem occurred evaluating project ':rich_clipboard_android'.
> Could not get unknown property 'kotlin_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':rich_clipboard_android'.
> Failed to notify project evaluation listener.
> Could not get unknown property 'android' for project ':rich_clipboard_android' of type org.gradle.api.Project.
> Could not get unknown property 'android' for project ':rich_clipboard_android' of type org.gradle.api.Project.
Temporary Fix
I have added back, the buildScript defination in android/gradle file.
Building for Android produces deprecation warnings;
I updated my project as recommended here.
Now when I try to build for android, it produces this error
Temporary Fix
I have added back, the
buildScript
defination inandroid/gradle
file.The text was updated successfully, but these errors were encountered: