pantao / flutter-wechat Goto Github PK
View Code? Open in Web Editor NEWFlutter Wechat Plugin
License: Other
Flutter Wechat Plugin
License: Other
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.
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
android.useAndroidX=true
android.enableJetifier=true
to android/gradle.properties
.
I would appreciate it very much.
微信开放平台官方有提供flutter 的插件吗?
iOS调回应用的时候没有执行onResp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.