Android真機測試 INSTALL_FAILED_INSUFFICIENT_STORAGE 解決方案,android真機調試

來源:互聯網
上載者:User

Android真機測試 INSTALL_FAILED_INSUFFICIENT_STORAGE 解決方案,android真機調試

以前都是用自己小米的機子測試,沒任何問題,但是昨天他娘的手機摔壞了,來公司要偵錯工具,把以前大學時用的2.3.6系統的國產雜牌android機器拿出來,安裝的時候出現了下面的情況 , 網上也找了好久,沒什麼用。

[2013-08-06 16:31:04 - Flashlight] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

[2013-08-06 16:31:04 - Flashlight] Please check logcat output for more details.

[2013-08-06 16:31:04 - Flashlight] Launch canceled!

方法一:

試試修改一下manifest檔案 :添加一句: android:installLocation="preferExternal" 

[html] view plaincopy
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"  
  2.     package="com.app.flashlight"  
  3.     android:installLocation="preferExternal"  
  4.     android:versionCode="1"  
  5.     android:versionName="1.0" >

即修改下安裝位置 就OK了. 


其他情況:

使用模擬器測試的,則可以試一試:

進入到模擬器中,點擊settings->applications->mange
applications-> select the application->select “uninstall”,將啟動的軟體刪除掉,下次就可以成功啟動。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.