问题描述
所以,有一对夫妇对这个话题的帖子,但它看起来像我的日志猫是完全不同的。不知道这是怎么回事。当我尝试我的设备上运行,我得到控制台日志:
So there were a couple of posts on this topic, but it looks like my log cat is totally different. Not sure what's going on. When I try to run on my device I get console log:
[2012-07-17 14:50:56 - zrox] Uploading zrox.apk onto device '3134F748F94100EC'
[2012-07-17 14:50:56 - zrox] Installing zrox.apk...
[2012-07-17 14:50:57 - zrox] Installation failed due to invalid APK file!
[2012-07-17 14:50:57 - zrox] Please check logcat output for more details.
[2012-07-17 14:50:57 - zrox] Launch canceled!
和logcat的:
07-17 19:50:56.043: W/zipro(4533): Unable to open zip '/data/local/tmp/zrox.apk': Permission denied
07-17 19:50:56.043: D/asset(4533): failed to open Zip archive '/data/local/tmp/zrox.apk'
07-17 19:50:56.047: D/dalvikvm(252): WAIT_FOR_CONCURRENT_GC blocked 0ms
07-17 19:50:56.047: W/PackageParser(4533): Unable to read AndroidManifest.xml of /data/local/tmp/zrox.apk
07-17 19:50:56.047: W/PackageParser(4533): java.io.FileNotFoundException: AndroidManifest.xml
07-17 19:50:56.047: W/PackageParser(4533): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
07-17 19:50:56.047: W/PackageParser(4533): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:487)
07-17 19:50:56.047: W/PackageParser(4533): at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:455)
07-17 19:50:56.047: W/PackageParser(4533): at android.content.pm.PackageParser.parsePackageLite(PackageParser.java:722)
07-17 19:50:56.047: W/PackageParser(4533): at com.android.defcontainer.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java:169)
07-17 19:50:56.047: W/PackageParser(4533): at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
07-17 19:50:56.047: W/PackageParser(4533): at android.os.Binder.execTransact(Binder.java:367)
07-17 19:50:56.047: W/PackageParser(4533): at dalvik.system.NativeStart.run(Native Method)
07-17 19:50:56.047: W/DefContainer(4533): Failed to parse package
07-17 19:50:56.047: W/ActivityManager(252): No content provider found for permission revoke: file:///data/local/tmp/zrox.apk
07-17 19:50:56.117: D/dalvikvm(252): GC_EXPLICIT freed 380K, 18% free 14176K/17159K, paused 4ms+6ms, total 70ms
我刚刚安装在我的Nexus S的一ROM为Android 4.1。它工作时,我4.0.3昨天。我有安装在Eclipse 4.1 SDK,和的android:targetSdkVersion
设置为16。我也运行该项目的清洁。什么也没有。任何想法?
I just installed a rom on my Nexus S for android 4.1. It worked when I had 4.0.3 yesterday. I do have the 4.1 SDK installed in eclipse, and android:targetSdkVersion
is set to 16. I have also run a clean on the project. Nothing. Any ideas?
推荐答案
我相信这是正在运行的ROM,我从间接移植到NS4G的ROM。
以下是他在XDA的帖子
I believe it is the rom you are running, I'm on a rom ported to the NS4G from Indirect.Here are his posts on XDA http://forum.xda-developers.com/search.php?searchid=51245494
我有同样的问题也是如此。 :/
I have the same problem as well. :/
这篇关于由于无效的APK文件安装失败! - Android电子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!