由於程序安裝包較大,在模擬器上安裝時經常出現INSTALL_FAILED_INSUFFICIENT_STORAGE提示。
後在網上搜索,找到解決方法如下:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.andrewsmith.android.darkness"
android:installLocation="preferExternal"
在android工程的manifest文件根節點加入上面最後一句即可解決。