RxReader / tencent_kit

Flutter版QQ登录/分享
MIT License
235 stars 63 forks source link

与其他第三方插件冲突问题. #8

Closed lupming closed 5 years ago

lupming commented 5 years ago

ע: C:\Users\lupmi\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\connectivity-0.4.3+2\android\src\main\java\io\flutter\plugins\connectivity\ConnectivityPlugin.javaʹ�û򸲸����ѹ�ʱ�� API�� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣 ע: E:\CodeManage\Flutter\fake_tencent-master\android\src\main\java\io\github\v7lin\faketencent\FakeTencentPlugin.javaʹ�û򸲸����ѹ�ʱ�� API�� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣 ע: ijЩ�����ļ�ʹ�û򸲸����ѹ�ʱ�� API�� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣 ע: C:\Users\lupmi\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\flutter_webview_plugin-0.3.5\android\src\main\java\com\flutter_webview_plugin\WebviewManager.javaʹ����δ�����򲻰�ȫ�IJ����� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣 ע: C:\Users\lupmi\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\package_info-0.4.0+4\android\src\main\java\io\flutter\plugins\packageinfo\PackageInfoPlugin.javaʹ�û򸲸����ѹ�ʱ�� API�� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣 D8: Program type already present: android.support.v4.media.MediaBrowserCompat$ConnectionCallback$ConnectionCallbackInternal

FAILURE: Build failed with an exception.

BUILD FAILED in 23s


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Finished with error: Gradle task assembleDebug failed with exit code 1

经测试还是这三个插件,请老大指导下如果不替换,如何解决??

flutter_webview_plugin: ^0.3.0+2

flutter_inappbrowser: ^1.2.1

image_picker: ^0.5.0+3

droplet-js commented 5 years ago

-_-!!! 在我的 example 升级 AndroidX编译也通过了 ... 你要不要上一个 Demo 我好排查问题啊

droplet-js commented 5 years ago

由于你引入的第三方插件需要将工程升级到AndroidX(AndroidX compatibility),所以你直接在我这主分支上加插件是不对的,你可以到 androidx-compatibility 分支体验一下

git clone -b androidx-compatibility https://github.com/v7lin/fake_tencent.git
lupming commented 5 years ago

感谢老大,我拉取你得androidx-compatibility测试了,是能运行的,我基础不太好,请问能不能帮我解答下,在我没引入fake_tencent 时,我引入的那第三方插件没有兼容AndroidX也能运行???

droplet-js commented 5 years ago

具体问题具体分析,不能一概而论

lupming commented 5 years ago

非常感谢,问题解决!

lujiayi1228 commented 4 years ago

非常感谢,问题解决! 老哥~怎么解决的求指导~