【发布时间】:2018-02-17 19:49:41
【问题描述】:
我正在尝试签署一个 APK,以便在最初使用 Cordova 和 Ionic 构建的 Play 商店上发布。现在,在完成这些步骤之后:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release-key.jks android-release-unsigned.apk xxxxxx
zipalign -v 4 android-release-unsigned.apk HelloWorld.apk
apksigner verify HelloWorld.apk
然后当我使用 apksigner 进行验证时,我得到了如下错误:
WARNING: META-INF/services/com.google.protobuf.GeneratedExtensionRegistryLoader
not protected by signature. Unauthorized modifications to this JAR entry will no
t be detected. Delete or move the entry outside of META-INF/.
这有关系吗?我该如何解决这个问题?我的构建中有什么做错了吗?
【问题讨论】:
标签: java android build android-build