Comments (16)
@Shaooooo
我当时是这么解决的。
http://blog.csdn.net/ganggelove/article/details/50808974
from cordova-plugin-pingpp.
删除其中一个 libammsdk.jar
from cordova-plugin-pingpp.
因为你这是重写了libammsdk,如果删除的话,要么你的不能用,要么微信登录的不能用,怎么修改让你的libammsdk和官方提供的libammsdk.jar类名不一样,这样各用各的类,就不会冲突
from cordova-plugin-pingpp.
PingPP的插件中,libammsdk是精简过的,很多功能是没有的
如果用其他三方插件制作者的包,会出现无法调用的问题,腾讯也没有提供maven仓库的包管理,所以,一旦使用pingpp,那么很多微信API的非支付功能都将失效,目前尝试弃用pingpp插件的这个精简包,引入完整包,但仍然出现多个pingin的依赖包(liammsdk)无法找到的问题。
from cordova-plugin-pingpp.
Ping++ 官方的 libammsdk.jar 是没有精简过的。但有可能不是最新的。
这里的 libammsdk.jar 有没有精简过,我不清楚,看起来好像也没做精简。
from cordova-plugin-pingpp.
pingpp 的 libammsdk.jar 文件只有 40 多KB,微信官方下载的静态包有100多KB
from cordova-plugin-pingpp.
已经解决了,我fork了pingpp的代码,移掉了重复引入依赖包,在cordova构建次序上,让功能更全jar包的优先导入就可以了。
谢谢提供支持,感谢!
from cordova-plugin-pingpp.
@sinlov 大神,如何让功能更全的jar包优先导入?你移除的是这个插件的jar包还是其他插件的jar包?
from cordova-plugin-pingpp.
@JhonYoung 冲突解决了么?咋弄的?我跟你用的是同样的两个插件
from cordova-plugin-pingpp.
@sinlov 我看到你在ping++插件和wechat插件的分支里面的plugin.xml中都把引入微信sdk的动作去掉了,那你是什么时候引入的微信sdk?
from cordova-plugin-pingpp.
@519818538 大神,请问你遇到过这个问题吗
TypeError:Cannot read property 'createPayment' of undefined
这是我打包之后,遇到的错误。调用不了sdk
from cordova-plugin-pingpp.
@mlgmlg 没有遇到
from cordova-plugin-pingpp.
@519818538 git clone rule First In Followed Clash
Package Structure made by Full the Cordova Plugin structure
See cordova-plugin-wechat-example
from cordova-plugin-pingpp.
我是完全看不到怎么处理的,能详细说一下吗
from cordova-plugin-pingpp.
Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/tencent/mm/opensdk/constants/Build.class
不知道怎么解决,查这个路径 用两处引用 分别是 微信登录的依赖和 微信支付的依赖
from cordova-plugin-pingpp.
@mlgmlg 已按照您的办法解决,非常感谢。
from cordova-plugin-pingpp.
Related Issues (20)
- 安装失败,请教指点哈 HOT 3
- Failed to install 'me.tongchia.cordova.pingpp':undefined
- 银联支付闪退
- ios 插件安装错误 HOT 2
- android下libammsdk.jar
- not found HOT 2
- Is there package for meteor 1.3.3 HOT 1
- 安装的时候报错 HOT 8
- 安装的时候报错,找不到 libpingpp-2.1.3.jar
- ionic run android之后,运行creatPayment,闪退 HOT 7
- 想使用您的插件实现银联支付,但安装不进去,报“Error: Cannot find module 'ansi-styles'”
- 插件添加不进平台里,只能在最外层看到插件!请问如何解决?
- 报alipaySdk-20160223.jar not found!的错 HOT 15
- 请更新一下插件 安装的时候总报错
- IOS报错,Android闪退
- 安装成功了,但是调用pingpp没有反应 HOT 1
- 安装后,微信支付失败,支付宝可以操作。不知是不是微信更新导致错误?
- 大神,能不能做个支持一网通支付的?
- 安装的时候 报错 怎么破 HOT 1
- URL_SCHEME怎么去使用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-pingpp.