将eclipse项目迁移到android studio会显示安装错误
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了将eclipse项目迁移到android studio会显示安装错误相关的知识,希望对你有一定的参考价值。
我已将我的eclipse项目迁移到android Studio,但在运行时,它给了我一个对话框,其中包含以下消息:
安装失败,消息无效文件:D: andro stockApp storeTrack build intermediates split-apk debug dep dependencies.apk。
可以通过卸载现有版本的APK来解决此问题,*如果存在*,然后重新安装?
当我单击ok
按钮时,它会在我的运行选项卡中显示以下会话错误。
05/11 11:54:35:启动storeTrack-storeTrack $ adb install-multiple -r D: andro stockApp storeTrack build intermediates split-apk debug dep dependencies.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_9.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_3.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_7.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_4.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_0.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_2.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_6.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_0.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_5.apk D: Anil android_projects store Track storeTrack build intermediates split-apk debug dep dependencies.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_8.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_9.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_8.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_4.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_2.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_1.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_3.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_1.apk D: andro stockApp storeTrack build intermediates split-apk debug slices slice_6.apk D: Anil android_projects storeTrack storeTrack 建立中间体分裂APK DEB ug slices slice_5.apk D: Anil android_projects storeTrack storeTrack build intermediates split-apk debug slices slice_7.apk D: Anil android_projects storeTrack storeTrack build outputs apk storeTrack-debug.apk $ adb shell pm uninstall com.c2info.storetrack DELETE_FAILED_INTERNAL_ERROR安装APK时出错
可能是什么问题呢?
- 从设备上卸载它。
- 在设备上执行全新安装。
以上是关于将eclipse项目迁移到android studio会显示安装错误的主要内容,如果未能解决你的问题,请参考以下文章
如何将 android eclipse 项目迁移到更高版本的 libpng?
Android官方开发文档之从Eclipse迁移到Android Studio开发篇
eclipse项目迁移到android studio(图文最新版)