gpt4 book ai didi

android - 无法读取 AndroidManiFest.xml Android 项目

转载 作者:行者123 更新时间:2023-11-29 17:48:54 25 4
gpt4 key购买 nike

我在尝试运行 android 项目时遇到以下问题。任何人都可以提出一些解决问题的建议吗?

Zip: EOCD not found, /data/local/tmp/Scrumptious.apk is not zip
06-26 21:25:53.012: D/asset(21420): failed to open Zip archive '/data/local/tmp/Scrumptious.apk'
06-26 21:25:53.022: W/PackageParser(21420): Unable to read AndroidManifest.xml of /data/local/tmp/Scrumptious.apk
06-26 21:25:53.022: W/PackageParser(21420): java.io.FileNotFoundException: AndroidManifest.xml
06-26 21:25:53.022: W/PackageParser(21420): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
06-26 21:25:53.022: W/PackageParser(21420): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:488)
06-26 21:25:53.022: W/PackageParser(21420): at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:456)
06-26 21:25:53.022: W/PackageParser(21420): at android.content.pm.PackageParser.parsePackageLite(PackageParser.java:780)
06-26 21:25:53.022: W/PackageParser(21420): at com.android.defcontainer.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java:175)
06-26 21:25:53.022: W/PackageParser(21420): at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
06-26 21:25:53.022: W/PackageParser(21420): at android.os.Binder.execTransact(Binder.java:404)
06-26 21:25:53.022: W/PackageParser(21420): at dalvik.system.NativeStart.run(Native Method)
06-26 21:25:53.022: W/DefContainer(21420): Failed to parse package

最佳答案

当当前安装的 apk 签名不同时,您的 apk 似乎无效(无法解析包)。所以尝试

  1. 卸载旧应用
  2. 重新启动 Eclipse
  3. 重建项目
  4. 重新安装apk

关于android - 无法读取 AndroidManiFest.xml Android 项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24435417/

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