本文介绍了如何解决由于APK文件无效导致安装失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建 Dolphin Player,但我遇到了他的错误:

I'm trying to build Dolphin Player, but I got his error:

[2012-09-21 09:46:23 - DolphinPlayer] Installation failed due to invalid APK file!
[2012-09-21 09:46:23 - DolphinPlayer] Please check logcat output for more details.
[2012-09-21 09:46:23 - DolphinPlayer] Launch canceled!


09-21 09:32:15.460: W/PackageParser(52): Unknown element under <application>: intent-filter at /data/app/vmdl30455.tmp Binary XML file line #31
09-21 09:32:17.360: E/PackageManager(52): Package com.broov.player has mismatched uid: 10031 on disk, 10035 in settings
09-21 09:32:17.370: I/PackageManager(52): /data/app/vmdl30455.tmp changed; unpacking
09-21 09:32:17.390: W/PackageManager(52): Native ABI mismatch from package file
09-21 09:32:17.400: W/PackageManager(52): Package couldn't be installed in /data/app/com.broov.player.apk
09-21 09:32:17.460: D/AndroidRuntime(833): Shutting down VM
09-21 09:32:17.460: D/dalvikvm(833): DestroyJavaVM waiting for non-daemon threads to exit
09-21 09:32:17.460: D/dalvikvm(833): DestroyJavaVM shutting VM down
09-21 09:32:17.460: D/dalvikvm(833): HeapWorker thread shutting down
09-21 09:32:17.460: D/dalvikvm(833): HeapWorker thread has shut down
09-21 09:32:17.470: D/jdwp(833): JDWP shutting down net...
09-21 09:32:17.470: I/dalvikvm(833): Debugger has detached; object registry had 1 entries
09-21 09:32:17.480: D/dalvikvm(833): VM cleaning up
09-21 09:32:17.480: E/AndroidRuntime(833): ERROR: thread attach failed
09-21 09:32:17.490: D/dalvikvm(833): LinearAlloc 0x0 used 631172 of 5242880 (12%)
09-21 09:32:17.669: D/dalvikvm(52): GC freed 8681 objects / 526608 bytes in 239ms
: E/(): Device disconnected

推荐答案

可能是两种情况.

  1. AndroidManifest.xml
  2. 包含的 .jar 文件也可能是导致此问题的原因.

更多信息请看

由于 APK 文件无效,Eclipse 安装失败?

安装失败,因为 APK 文件无效?

由于APK文件无效,安装失败!- 安卓

安装失败 - 无效的 apk 文件 - android_opencv_library

这篇关于如何解决由于APK文件无效导致安装失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 20:35