Comments (9)
我觉得这个既然有问题,建议不要放出来,免得后面其他人采坑
from jpay.
Could not resolve com.github.javen205.JPay:AliPay:0.0.5.
Required by:
project :app
> Could not resolve com.github.javen205.JPay:AliPay:0.0.5.
> Could not parse POM https://jitpack.io/com/github/javen205/JPay/AliPay/0.0.5/AliPay-0.0.5.pom
> Missing required attribute: dependency groupId
from jpay.
感谢反馈,引用外部 aar ,本地可以正常使用但使用 jitpack
构建后 groupId
缺少暂时不知道如何修改
from jpay.
啥时候更新下一个版本 有解决这个问题了吗? @Javen205
from jpay.
还没有解决 jitpack
的 FAQ 中有提到,建议使用 Gradle Shadow or Maven Shade plugin,但我测试还是不生效,在jitpack
的 ASK
提问了但目前还没有得到回复
from jpay.
我觉得这个既然有问题,建议不要放出来,免得后面其他人采坑
你自己封装提供给别人使用,也是要踩这个坑的(阿里的aar没有上传至仓库)。
换一个角度说 Model (第三方库) 引用的方式有很多方式,源码方式何尝不可呢?
from jpay.
这个问题如何解决呢
from jpay.
这个问题如何解决呢
你的 com.android.tools.build:gradle 插件和 gradle wrapper 版本是多少。高版本不兼容这个问题。换个低版本的试试
from jpay.
解决方案是:把阿里的aar上传至自己的私库 ,然后采用远程依赖的方式。
这种方式会生成pom文件,但是支付宝的aar并没有被打包到新的aar包中。在线等谁有更好的解决方案。
from jpay.
Related Issues (14)
- 这个demo要自己跑server端的? HOT 2
- java.lang.NullPointerException
- 微信支付不回调方法。 HOT 5
- 为什么没有配置回调的地方 HOT 1
- Could not parse POM https://jitpack.io/com/github/javen205/JPay/AliPay/0.0.5/AliPay-0.0.5.pom > Missing required attribute: dependency groupId HOT 2
- 不可达代码
- 微信支付没有回调 HOT 1
- where is the WX_APP_ID? HOT 1
- 项目运行报错 key HOT 2
- 请问这个gradle是怎么依赖? HOT 1
- 请问下支付方法的那个mContext是什么变量 HOT 4
- 内存泄露 HOT 1
- 第一次启动支付界面没弹开
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 jpay.