gpt4 book ai didi

android - 解析错误 : there is a issue while parsing the package in marshmallow

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:29:23 27 4
gpt4 key购买 nike

我在 marshmallow 设备上安装 apk 时遇到解析错误。
它在牛轧糖设备中运行良好。

android {
compileSdkVersion 23
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.graymatic.gmind.mylook"
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "1.4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true

}

及其在日志中显示以下错误

/PackageManager: Failed collect during installPackageLI
android.content.pm.PackageParser$PackageParserException: Package /data/app/vmdl1108144592.tmp/base.apk has no certificates at entry AndroidManifest.xml
at android.content.pm.PackageParser.collectCertificates(PackageParser.java:1176)
at android.content.pm.PackageParser.collectCertificates(PackageParser.java:1130)
at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:13205)
at com.android.server.pm.PackageManagerService.access$3600(PackageManagerService.java:327)
at com.android.server.pm.PackageManagerService$10.run(PackageManagerService.java:11017)
at android.os.Handler.handleCallback(Handler.java:743)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:150)
at android.os.HandlerThread.run(HandlerThread.java:61)
at com.android.server.ServiceThread.run(ServiceThread.java:46)

最佳答案

当您生成签名的 apk 时,检查 V1V2compiletarget sdk 版本都更改为 27

编辑:enter image description here

检查jar签名和签名的apk签名

关于android - 解析错误 : there is a issue while parsing the package in marshmallow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48112493/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com