ahzmr / cordova-plugin-baichuan Goto Github PK
View Code? Open in Web Editor NEWCordova plugin for Baichuan SDK (阿里百川Cordova插件)
License: Apache License 2.0
Cordova plugin for Baichuan SDK (阿里百川Cordova插件)
License: Apache License 2.0
在调用 showpage方法的时候返回错误提示,no enum constant com.alibaba.baichuan.trade.biz.applink.adapter. AlicbFailModeType.AlibcNativeFailMode,
我检查了一下java代码里声明引入变量 只有到这个级别 com.alibaba.baichuan.trade.biz.applink.adapter. AlicbFailModeType,我尝试着加上那个变量但是会打包就失败,这是什么情况,谢谢
Error: cmd: Command failed with exit code 1 Error output:
F:\workappusekey\ggbapp\platforms\android\AndroidManifest.xml:28:19-91 Error:
Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from AndroidManifest.xml:28:19-91
is also present at [com.alibaba.sdk.android:alibc_trade_sdk:3.1.1.206] AndroidManifest.xml:44:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:28:9-257 to override.
FAILURE: Build failed with an exception.
Manifest merger failed : Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from AndroidManifest.xml:28:19-91
is also present at [com.alibaba.sdk.android:alibc_trade_sdk:3.1.1.206] AndroidManifest.xml:44:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:28:9-257 to override.
这是插件冲突的报错,然后按照建议添加代码之后,就会报加代码的地方出错,按照你的建议在application添加代码之后也会报添加的地方错,谢谢大神指导
大神,辛苦了啊
打包release版本,上传到百川,下载安全图片,把安全图片放到 /res/drawable 下,重新编译,手机运行,闪退。。。不知道啥情况
大神,我看您写的文档一两天了,试了很多次,都是失败。
我用的是ionic2
我引入plugin之后,直接在ts文件里调用,
Baichuan.auth('login', function(res){
console.log(res)
});
打包App之后,控制器打印:插件初始化失败
您的:“安装前准备工作” 我都做了,是不是我在ts里面少写了什么,比如没有初始化?
还有您提供的www文件了的baichuan.js应该怎么使用?
小白,不太懂,如果您有时间解答下,不胜感激!
当我踌躇要不要换原生开发的时候,我不小心搜了一下baichuan.看来还是有大神存在的,忍不住留言支持.大神如果有需要,我们可以跟你一起写这个插件.您就是我黑暗中的萤火虫.迷一样的男子!!!
Error: cmd: Command failed with exit code 1 Error output:
F:\workappusekey\ggbapp\platforms\android\src\com\zhijianhuo\cordova\plugin\BaichuanPlugin.java:131: ����: -source 1.6 �в�֧�� switch �д����ַ���
switch (action) {
^
(��ʹ�� -source 7 �����߰汾������ switch �д����ַ���)
ע: ijЩ�����ļ�ʹ�û����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
1 ������
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
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.