Giter VIP home page Giter VIP logo

flutter-wechat's People

Contributors

pantao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flutter-wechat's Issues

Build fails due to AndroidX incompatibility

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.

微信登陆的问题

image
我这样调用,一直拿不到result,
image
我看源码中有一个receiver,但是没找到哪里调用了sendBroadCast,请问微信登陆的result是在哪里发送给flutter的?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.