packer-ng-plugin icon indicating copy to clipboard operation
packer-ng-plugin copied to clipboard

下一代Android打包工具(对Gradle 7.x的支持,欢迎提PR)

Results 21 packer-ng-plugin issues
Sort by recently updated
recently updated
newest added

![企业微信截图_20220323172850](https://user-images.githubusercontent.com/18473359/159667204-a5ca94e4-8132-4f7c-ae4d-45b483dcf2b2.png) D:\MyConfiguration\签名>java -jar packer-ng-2.0.1.jar verify build\app-release-123456.apk ========== APK Verify ========== File: app-release-123456.apk Signed: true Channel: 123456 D:\MyConfiguration\签名>adb install build\app-release-123456.apk Performing Streamed Install adb: failed to install build\app-release-123456.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed...

* What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin 'packer'. > Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.

按照构建报错一步一步改后好像可以了

升级 gradle 7.0 提示 apply plugin: 'packer' 编译不通过

当设置应用minSdkVersion>=24时,输出渠道包失败,提示 return code: 1, stderr: Error: Invalid Signature: xxx.apk 原因是:ApkVerifier验证签名时,从Android N开始,不需要验证V1签名,如下代码: private Result verify(DataSource apk) { ······ // Attempt to verify the APK using JAR signing if necessary. Platforms prior...

![image](https://user-images.githubusercontent.com/13911593/50631114-33bf9400-0f7e-11e9-882e-898f879dd202.png) 130.apk 是上传至 Google Play 之前的包 130-1.apk 是上传至 Google Play 之后并开启 App Signing 的包,这个包被 Google Play 重新签名了,这个签名 packer-ng 识别不出来嘛?

错误提示: C:\Users\Administrator>adb install C:\Users\Administrator\Desktop\jiagutest\tool s\build\archives\ii_src-baidu.apk adb: failed to install C:\Users\Administrator\Desktop\jiagutest\tools\build\arch ives\ii_src-baidu.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1295410565.tmp/base.apk using APK Signat ure Scheme v3: Size of APK Signing Block...

https://www.wandouip.com/t5i315595/ 不支持Android 9的V3签名检查机制 _Originally posted by @onlybenyang in https://github.com/mcxiaoke/packer-ng-plugin/issues/150#issuecomment-564405591_ 你看看这个帖子能不能帮到你 https://blog.csdn.net/liuyu0915/article/details/90513097#comments_12565974

V3签名的apk使用贵库生成的渠道包不能安装在9.0及以上系统上。 使用build-tools28.0.0进行签名apk,再生成渠道包,渠道包不能安装在9.0及以上系统上,在9.0以下系统可以安装。美团打渠道包的代码已经更新,支持v3签名的Apk. 贵库只需要集成最新读取和写入渠道信息的代码即可。 我在csdn上面写了一篇关于贵库升级支持v3签名apk的博客,多谢指点一二。 https://blog.csdn.net/liuyu0915/article/details/90513097

String channelInfo = PackerNg.getChannel(context); 加固后channelInfo 变成null了