最近开发中遇到了一个特别无语的问题,使用eclipse开发android程序时候,无法安装apk到设备上。
控制台的输出信息如下:
[2013-11-20 17:31:08 - moffice] Installation error: INSTALL_FAILED_UID_CHANGED
[2013-11-20 17:31:08 - moffice] Please check logcat output for more details.
[2013-11-20 17:31:09 - moffice] Launch canceled!
网上的信息有很多,但是说的都是一回事儿:apk没有卸载干净。前几天,我尝试过的办法:
1.使用adb命令去卸载,再删除sdcard上面的应用程序目录,还不行的话就用清理大师清缓存
2.如果第一步还不行,就重启下设备(这个办法相对更好用)
今天下午试用了以上的办法都不行,就去网上搜了下,所有链接的内容,都指向下面的内容
http://blog.csdn.net/enhancing/article/details/8490473
但是我的设备没root,无法访问data目录下的内容,所以这个办法是否好用有待验证。
没有找到有用的信息之后,只好自己研究,先排除了代码自身的问题(其他设备正常安装),
又确定了和机器有关,因为测试机上没有你重要的东西,所以恢复出厂设置试了下,apk可以
正常安装了。
当然,恢复出厂设置,是最差的办法,大家有什么好的,有用的办法,请留言。
2013.12.21:最近开发过程中又遇到了这个问题,终于找到了一个比较好的解决办法,在此记录下。
打开手机或者pad中的设置----->安全----->未知来源(允许安装非安卓市场应用程序),
把这个取消,再重新选中,然后重启设备,再安装,就ok了 。
相关推荐
手机平板 framework下缺失com.google.android.maps.jar 导致 INSTALL_FAILED_MISSING_SHARED_LIBRARY 的解决办法
问题:INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 解决:android:sharedUserId="android.uid.system" <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>
解决 Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE 试试修改一下manifest文件 package="com.andrewsmith.android.darkness" android:installLocation="preferExternal
eclipse编译出来的apk,安装时报出INSTALL_FAILED_SHARED_USER_INCOMPATIBLE的错误。 原因:apk的AndroidManifest.xml中声明了android:sharedUserId="android.uid.system",但没有相应的签名 解决方案: 1. 找到编译...
Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]异常处理
Android模拟器安装APP出现INSTALL_FAILED_NO_MATCHING_ABIS错误解决方案 当我们想在电脑的Android模拟器中安装APP的时候,会报INSTALL_FAILED_NO_MATCHING_ABIS错误【如图1】,导致APP无法在模拟器中运行。下面给出...
Sim_EKB_Install_2020_10_10.exe Sim_EKB_Install_2020_04_17.exe Sim_EKB_Install_2020_02_29.exe Sim_EKB_Install_2013_12_25.exe Sim_EKB_Install_2017_01_17.exe Sim_EKB_Install_2017_08_29.exe Sim_EKB_...
The application could not be installed: INSTALL_FAILED_OLDER_SDK The application’s minSdkVersion is newer than the device API level. 意思是我使用的设备的sdk版本低于要求的sdk版本 解决方法: 找到项目...
flashplayer11_b1_install_win_ie32_071311flashplayer11_b1_install_win_ie32_071311flashplayer11_b1_install_win_ie32_071311flashplayer11_b1_install_win_ie32_071311flashplayer11_b1_install_win_ie32_071311...
install_flash_player_10_active_xvinstall_flash_player_10_active_xinstall_flash_player_10_active_xinstall_flash_player_10_active_xinstall_flash_player_10_active_xinstall_flash_player_10_active_xinstall...
The application could not be installed: INSTALL_FAILED_DEXOPT 清除模拟器数据 在AndroidStudio中打开AVD Manager: 使用WipeData清除数据: 调整模拟器内存 使用上面的WipeData还是一样的问题的话,建议重新...
Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/vmdl890369339.tmp/7_slice__ signatures are inconsistent. It is possible that this ...
Apache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CNApache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CNApache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CNApache_OpenOffice_incubating_...
MicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and...
Android 出现问题Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER解决办法 最近做项目遇到 Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER这个报错信息,不知该如何解决,百度一下,发现有...
install_wim_tweak.zip
Sim_EKB_Install_2021_06_01
flashplayerpp_ax_install_cn_fc.exe
博途V15.1以下授权Sim_EKB_Install_2019_07_07亲测好用。目前最新版本,俄罗斯大神制作。
Sim_EKB_Install_2017_04