Skip to content
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

官方两年没更新了,fork了一个版本,已适配agp7.x,详见下面 #377

Open
Petterpx opened this issue Jun 4, 2022 · 16 comments

Comments

@Petterpx
Copy link

Petterpx commented Jun 4, 2022

https://github.com/Petterpx/walle

@kuroyukihime0
Copy link

image
这个版本使用cli时报错,官方的没有问题

@Alexxiaopang
Copy link

image 这个版本使用cli时报错,官方的没有问题

请使用java11,java8会出现错误,语法不一样了

@timmy-gzw
Copy link

apkFileNameFormat 似乎无效.

@OneGreenHand
Copy link

@Petterpx
#351
请问你那个里面有没有加这个问题的解决方案进去,因为部分手机无法安装,谢谢

@Petterpx
Copy link
Author

Petterpx commented Aug 6, 2022

apkFileNameFormat 似乎无效.

@Petterpx #351 请问你那个里面有没有加这个问题的解决方案进去,因为部分手机无法安装,谢谢

ok,我稍等改一下,目前是没加的

@OneGreenHand
Copy link

@Petterpx 辛苦大佬了

@Petterpx
Copy link
Author

Petterpx commented Aug 6, 2022

apkFileNameFormat 似乎无效.

ok,我晚会看看

@Petterpx
Copy link
Author

Petterpx commented Aug 6, 2022

@Petterpx #351 请问你那个里面有没有加这个问题的解决方案进去,因为部分手机无法安装,谢谢

这个问题里只是输出的渠道包增加了别名,关于部分手机无法安装,应该是属于编译的问题,这个这边测试没啥问题。

@Petterpx Petterpx closed this as completed Aug 6, 2022
@Petterpx Petterpx reopened this Aug 6, 2022
@yiranshaxiao
Copy link

yiranshaxiao commented Oct 21, 2022

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)

@gyxing
Copy link

gyxing commented Oct 28, 2022

apkFileNameFormat 这个加好了没?

@Petterpx
Copy link
Author

apkFileNameFormat 这个加好了没?

加好了,1.0.4即可

@cigk
Copy link

cigk commented Nov 30, 2022

apkFileNameFormat

1.0.4 版本 apkFileNameFormat设置了貌似也不生效

@maynezhou
Copy link

1.0.4 版本 apkFileNameFormat设置了貌似也不生效

@MayDayzll
Copy link

@Petterpx 哥有时间麻烦您升级下walle8.多的项目

@Petterpx
Copy link
Author

1.0.4 版本 apkFileNameFormat设置了貌似也不生效

试试1.0.5呢

@sy5251
Copy link

sy5251 commented Jun 18, 2024

1.0.4 版本 apkFileNameFormat设置了貌似也不生效

试试1.0.5呢

1.0.5 在安卓9会报错

java.lang.NoSuchMethodError: No virtual method position(I)Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-oj.jar)
at com.meituan.android.walle.ApkUtil.sliceFromTo(ApkUtil.java:262)
at com.meituan.android.walle.ApkUtil.findIdValues(ApkUtil.java:202)
at com.meituan.android.walle.PayloadReader.getAll(PayloadReader.java:84)
at com.meituan.android.walle.PayloadReader.get(PayloadReader.java:44)
at com.meituan.android.walle.PayloadReader.getString(PayloadReader.java:24)
at com.meituan.android.walle.ChannelReader.getRaw(ChannelReader.java:67)
at com.meituan.android.walle.ChannelReader.getMap(ChannelReader.java:42)
at com.meituan.android.walle.ChannelReader.get(ChannelReader.java:25)
at com.meituan.android.walle.WalleChannelReader.getChannelInfo(WalleChannelReader.java:56)
at com.meituan.android.walle.WalleChannelReader.getChannel(WalleChannelReader.java:37)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests