AndroidのEmulatorのdataフォルダの容量を増やす方法(Systemフォルダも)
Android Emulator Failure[INSTALL_FAILED_INSUFFICIENT_STORAGE]
コマンドラインからこんな感じでできるみたい。
emulator -avd myFroyo -partition-size 2047
単位がMBなので注意
設定前
# df
df
/dev: 47048K total, 0K used, 47048K available (block size 4096)
/mnt/asec: 47048K total, 0K used, 47048K available (block size 4096)
/system: 96384K total, 96384K used, 0K available (block size 4096)
/data: 65536K total, 59920K used, 5616K available (block size 4096)
/cache: 65536K total, 1212K used, 64324K available (block size 4096)
設定後
# df
df
/dev: 47048K total, 0K used, 47048K available (block size 4096)
/mnt/asec: 47048K total, 0K used, 47048K available (block size 4096)
/system: 2032640K total, 97536K used, 1935104K available (block size 4096)
/data: 2032640K total, 60180K used, 1972460K available (block size 4096)
/cache: 65536K total, 1212K used, 64324K available (block size 4096)
/mnt/sdcard: 32244K total, 1K used, 32242K available (block size 512)
/mnt/secure/asec: 32244K total, 1K used, 32242K available (block size 512)
#
ショートカットへ登録する方法
android-sdk_eng\tools\emulator.exe -avd myFroyo -partition-size 128
※ショートカットのウィンドウを消すとエミュレータも消えてしまうので注意。
How to increase storage for Android Emulator? (INSTALL_FAILED_INSUFFICIENT_STORAGE) - Stack Overflow
>remount
>adb shell
#chmod 777 system