---------------------------------------华丽的分割线-----------------------------------------
现象:运行程序,进行安装时,ANDROID模拟器启动失败,在Eclipse的控制台里log显示如下错误信息
Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
Please check logcat output for more details.
Launch canceled!
原因:APK太大,空间不够用,或内存不足。
解决:
1.
“反复安装android apk的时候,有时可能会遇到,可能是以前没有执行uninstall或者uninstall应用的时候,没有做彻底,只是简单的rm /data/app/下面的apk文件,补救的办法如下:
启动模拟器,然后进入菜单
settings->applications->mange
applications-> select the application->select "unistall".
这样就能彻底删除,然后再重新安装这个apk就没问题了缺点是每次执行都要删除一次。
2.
通用的方法,在DDMS中调整emulator内存大小:
Eclipse的菜单栏中选择 “Run”,选择“Run Configurations...”或“Debug Configurations...”,找“Target”选项卡,在最下方(发现没有不要急,把窗口下边框往下拉一拉,就能看见被掩盖的)“Additional Emulator Command Line Options”,填上
-partition-size 128
表示內存大小为128M。如图
- 大小: 74.7 KB
分享到:
相关推荐
Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE 试试修改一下manifest文件 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.andrewsmith.android.darkness" ...
主要介绍了解决vue net :ERR_CONNECTION_REFUSED报错问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
= NO_ERROR) { delete pTcpTable; return; } CString sTemp; m_PortList.DeleteAllItems(); int nNum = (int)pTcpTable->dwNumEntries; //TCP连接的数目 // nNum = 0; for (int i = 0; i; i+...
INSTALL_FAILED_CONTAINER_ERROR 1. sdcard 访问失败; 2. 应用签名与 ROM 签名一致,被当作内置应用 1. 确认 sdcard 可用,或者安装到内置存储; 2. 打包时不与 ROM 使用相同签名 INSTALL_FAILED_INVALID_INSTALL_...
fatal:remote error: You can't push to git://github.com/username/*.git Use git@github.com:username/*.git 看来我是没有权限push啊。 解决方法: git remote rm origin git remote add origin git@github....
角铯 使用Cesium和Angular组件创建惊人的映射应用程序。 Angular-Cesium专注于高性能和简单使用。 查看我们的和博客文章。 入门 如果您使用的是Angular CLI,则可以使用示意图添加angular-铯库。...
sqlplus / as sysdba时出现ORA-01031 insufficient privilege
首先说,出现这个问题的场景是很少见的,因为有太多更好解决方法。今天搞ajax的时候,一个有趣的地方,,每个迭代中都要发送一个get请求,因为迭代的速度太快,一个请求还没有完成就进行下一个迭代,在chrome和ff上...
SetLastError(ERROR_INSUFFICIENT_BUFFER), rv = FALSE; if (rv) *entry = T(PCHAR(entries)+entries[type].Offset)[entries[type].Index]; UnmapViewOfFile(entries); return rv; } HANDLE WINAPI ...
这是一个根修复程序,没有它就无法工作!... org/2014/05/fixing-false-insufficient-storage-available-errors-on-android/ 即将到来的修复和更改: • 存储空间不足(修复 3) • Google Play 的“无连
If GetLastError = ERROR_INSUFFICIENT_BUFFER Then begin pOrigSd := HeapAlloc(GetProcessHeap(), $00000008, dwSDLen); If pOrigSd = nil Then begin bError := TRUE; Goto Cleanup; end; // 再次调用...
Failed to save ‘index.jsx’: Insufficient permissions. Select ‘Retry as Sudo’ to retry as superuser. EACCES: permission denied 解决方法:授予权限 sudo chmod -R 777 . ## 为当前目录及子目录搜于读写...
This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly ...
if (GetLastError = ERROR_INSUFFICIENT_BUFFER) then begin GetMem(lpEntryInfo, dwEntrySize); if (FindNextUrlCacheEntry(hCacheDir, lpEntryInfo^, dwEntrySize)) then DeleteUrlCacheEntry(lpEntryInfo...
一步步教你如何安装qnx实时操作系统,简单明了便捷
docker 报错 1. 查看原因 ... error=‘Cannot allocate memory’ (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mma
修复在VS2010中不能复制粘贴Bug,你懂得!
---> CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions ...
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
虽然简单,但是实用 ...=NO_ERROR && GetLastError()!=ERROR_NO_MORE_ITEMS ) { return ; } // <!--[if !supportEmptyParas]--><!--[endif]--> // Cleanup SetupDiDestroyDeviceInfoList(hDevInfo);