1

将修改后的 ROM 安装到我的 razr i,从那里我无法将应用程序发送到手机,我收到这些错误 eclipse

[2013-09-11 21:03:25 - MainActivity] Android Launch!
[2013-09-11 21:03:25 - MainActivity] adb is running normally.
[2013-09-11 21:03:25 - MainActivity] Performing com.astuetz.viewpager.extensions.sample.MainActivity activity launch
[2013-09-11 21:03:25 - MainActivity] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2013-09-11 21:03:33 - MainActivity] Uploading MainActivity.apk onto device 'TA32402UGY'
[2013-09-11 21:03:34 - MainActivity] Installing MainActivity.apk...
[2013-09-11 21:03:35 - MainActivity] Installation failed due to invalid APK file!
[2013-09-11 21:03:35 - MainActivity] Please check logcat output for more details.
[2013-09-11 21:03:35 - MainActivity] Launch canceled!

日志猫

09-11 21:03:06.577: W/PackageParser(10331):     at android.content.res.AssetManager.openXmlAssetNative(Native Method)
09-11 21:03:06.577: W/PackageParser(10331):     at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:487)
09-11 21:03:06.577: W/PackageParser(10331):     at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:455)
09-11 21:03:06.577: W/PackageParser(10331):     at android.content.pm.PackageParser.parsePackageLite(PackageParser.java:722)
09-11 21:03:06.577: W/PackageParser(10331):     at com.android.defcontainer.DefaultContainerService$1.getMinimalPackageInfo(DefaultContainerService.java:169)
09-11 21:03:06.577: W/PackageParser(10331):     at com.android.internal.app.IMediaContainerService$Stub.onTransact(IMediaContainerService.java:110)
09-11 21:03:06.577: W/PackageParser(10331):     at android.os.Binder.execTransact(Binder.java:367)
09-11 21:03:06.577: W/PackageParser(10331):     at dalvik.system.NativeStart.run(Native Method)
09-11 21:03:06.577: W/DefContainer(10331): Failed to parse package
09-11 21:03:06.577: W/ActivityManager(409): No content provider found for permission revoke: file:///data/local/tmp/MainActivity.apk
4

1 回答 1

0

从命令提示符尝试此操作。

adb install -s "your_apk_filename".apk

另外,请阅读

于 2013-09-12T00:45:58.527 回答