walle
walle copied to clipboard
官方两年没更新了,fork了一个版本,已适配agp7.x,详见下面
https://github.com/Petterpx/walle
这个版本使用cli时报错,官方的没有问题
这个版本使用cli时报错,官方的没有问题
请使用java11,java8会出现错误,语法不一样了
apkFileNameFormat 似乎无效.
@Petterpx https://github.com/Meituan-Dianping/walle/issues/351 请问你那个里面有没有加这个问题的解决方案进去,因为部分手机无法安装,谢谢
apkFileNameFormat 似乎无效.
@Petterpx #351 请问你那个里面有没有加这个问题的解决方案进去,因为部分手机无法安装,谢谢
ok,我稍等改一下,目前是没加的
@Petterpx 辛苦大佬了
apkFileNameFormat 似乎无效.
ok,我晚会看看
@Petterpx #351 请问你那个里面有没有加这个问题的解决方案进去,因为部分手机无法安装,谢谢
这个问题里只是输出的渠道包增加了别名,关于部分手机无法安装,应该是属于编译的问题,这个这边测试没啥问题。
Android Studio Dolphin | 2021.3.1 gradle jdk 11.0.13 com.android.tools.build:gradle:7.2.2 distributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-all.zip
https://github.com/Petterpx/walle/blob/main/plugin/src/main/groovy/com/meituan/android/walle/ChannelMaker.groovy#L262
Caused by: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.io.File(String, File) at com.meituan.android.walle.ChannelMaker.generateChannelApk(ChannelMaker.groovy:262) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at com.meituan.android.walle.ChannelMaker$_packaging_closure5.doCall(ChannelMaker.groovy:122) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at com.meituan.android.walle.ChannelMaker.packaging(ChannelMaker.groovy:121)
apkFileNameFormat 这个加好了没?
apkFileNameFormat 这个加好了没?
加好了,1.0.4即可
apkFileNameFormat
1.0.4 版本 apkFileNameFormat设置了貌似也不生效
1.0.4 版本 apkFileNameFormat设置了貌似也不生效
@Petterpx 哥有时间麻烦您升级下walle8.多的项目
1.0.4 版本 apkFileNameFormat设置了貌似也不生效
试试1.0.5呢