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
I am using the following dependency in my Flutter project:
dependencies:
wechat: ^0.0.5
When I compile it in debug mode, everything is fine. When I try to compile it in release mode, I get
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':wechat:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
/home/stefan/.gradle/caches/transforms-2/files-2.1/00396a068dc8abe4c6a94fd2289b8767/core-1.1.0/res/values/values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.
/home/stefan/.gradle/caches/transforms-2/files-2.1/00396a068dc8abe4c6a94fd2289b8767/core-1.1.0/res/values/values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.
* 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 14s
Running Gradle task 'assembleRelease'... 75.4s
The build failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetifier to solve the incompatibility.
The last line in the error message suggest that the WeChat plugin is not AndroidX ready.
I am using the following dependency in my Flutter project:
When I compile it in debug mode, everything is fine. When I try to compile it in release mode, I get
The last line in the error message suggest that the WeChat plugin is not AndroidX ready.
https://flutter.dev/docs/development/androidx-migration
Would you please convert the plugin to AndroidX and build a new release, 0.0.6?
All you have to do is add these two lines
to
android/gradle.properties
.I would appreciate it very much.
The text was updated successfully, but these errors were encountered: