2012-05-20 61 views
1

當我運行我的應用程序沒有啓動,並顯示我控制檯此消息:我得到了一個安裝錯誤,不知道該怎麼辦

[2012-05-20 17:36:58 - TravelersDictionary] Installation error: 
INSTALL_FAILED_INSUFFICIENT_STORAGE 
[2012-05-20 17:36:58 - TravelersDictionary] Please check logcat output for more details. 
[2012-05-20 17:36:58 - TravelersDictionary] Launch canceled! 

我沒有檢查我的logcat但沒有用紅色寫的東西。

這裏是最後的5 logcat的消息:

05-20 14:37:36.520: D/ExchangeService(438): Received deviceId from Email app: androidc259148960 
05-20 14:37:36.520: D/ExchangeService(438): Reconciling accounts... 
05-20 14:37:48.555: W/ThrottleService(75): unable to find stats for iface rmnet0 
05-20 14:44:00.404: D/dalvikvm(75): GC_CONCURRENT freed 648K, 13% free 8475K/9735K, paused 12ms+11ms 
05-20 14:44:32.975: D/dalvikvm(170): GC_CONCURRENT freed 397K, 13% free 6241K/7111K, paused 8ms+7ms 

回答

1

你得到一個錯誤:Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE和錯誤說你沒有在你的設備有足夠的空間來安裝應用程序,因此刪除一些不需要的應用程序和其他數據,然後重試。

+0

我的應用尺寸在3.6 MB,這是否算過LARG? – user1283769

+0

@ user1283769它根本不是太大,但是可能您的設備已滿數據,然後安裝失敗。清除一些空間並嘗試重新安裝。 –

+0

謝謝你,它的工作 – user1283769

1

看起來您的設備正在耗盡內部存儲空間,通常安裝應用程序的位置。你有兩個選擇。刪除一些應用程序,或者,由於您正在開發,如果您的目標是API級別比8 (Android 2.2)大,您可以在AndroidManifest.xml文件中設置android:installLocation="preferExternal"Android將嘗試安裝在外部存儲應用,作爲醫生說:

If you declare "preferExternal", you request that your application be installed on the external storage, but the system does not guarantee that your application will be installed on the external storage. If the external storage is full, the system will install it on the internal storage.

相關問題