-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用此插件会导致支付宝支付闪退 #124
Comments
application的gradle插入: |
请问你是怎么解决的: 我在APP的build里面配置aspectjx { exclude 'com.alipay.sdk' } 报错改成aspectjx { exclude 'com/alipay/sdk' } 还是不行,使用include直接编辑报错 |
同样遇到找不到支付sdk的问题,明明jar都加进来了 按照aspectjx { exclude 'com.alipay.sdk' } 的方式,编译出来的apk还是一样有问题,跪求解决方法 |
Clean&Sync后试一下。 |
@JuHonggang |
@banshake 这个问题之前咨询过作者,说是因为aspectj对不同版本的class处理时可能存在兼容问题,所以添加了过滤规则,具体的没有深究。 |
@JuHonggang 我是Windows平台改成aspectjx { exclude 'com/alipay' }可以了,感谢!您对include有研究吗?我想把我们项目的包名之外的排除,就写的aspectjx { include 'XX/XX/XX' }('XX/XX/XX'项目的包名)一直没有触发aspectjx 的编译规则,导致所有的都失效 |
app build.gradle 的根目录加上aspectjx { exclude 'com/alipay' } |
同样遇到了这个问题,最后暂停使用,解决了。。。 |
我在mac平台使用“aspectjx { exclude 'com.alipay' } ”才可以成功忽略, |
windows平台包名用/分隔,mac平台包名用.分隔 |
app build.gradle 的根目录加上aspectjx { exclude 'com/alipay' } 加了依旧,, |
妹想到是这个引起的,让我怀疑人参好几天。。
|
不使用是解决问题的终极办法 |
那您开源这个项目的意义呢?发自我的华为手机-------- 原始邮件 --------主题:Re: [HujiangTechnology/gradle_plugin_android_aspectjx] 使用此插件会导致支付宝支付闪退 (#124)发件人:goodjok 收件人:HujiangTechnology/gradle_plugin_android_aspectjx 抄送:lsq ,Comment 不使用是解决问题的终极办法
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
|
我的添加了 还是报java.lang.IllegalArgumentException: !directory.isDirectory() |
|
在APP build.gradle中引入该插件:
apply plugin: 'android-aspectjx'
然后在以支付宝方式支付时提示:
java.lang.NoClassDefFoundError:Failed resolution of: Lcom/alipay/sdk/app/PayTask;
The text was updated successfully, but these errors were encountered: