Android Wear虚拟设备 - 存储空间不足

时间:2015-04-21 10:39:47

标签: java android android-studio virtual-machine wear-os

在Android Studio中创建Android Wear虚拟设备并启动时,设备会自动从我的物理电话(有线)安装所有相关应用程序。问题是,存储空间已经填满,我无法再从Android Studio部署我的应用程序。

我已经尝试调整VD设置,将存储空间增加到5GB,将“SD卡”增加到5GB但没有成功,我似乎找不到其他人遇到此问题。下面我复制了这个VD的设置。

奇怪的是,SD卡在下面的设置中列为1G,而在Android Studio设置中列为5GB。

所有人都非常感谢。

Android Studio部署错误:

pkg: /data/local/tmp/com.nybblemouse.datalayerdatamap
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

VD配置:

 Name: Android_Wear_Round_API_21_2_-_Armeabi
 CPU/ABI: Android Wear ARM (armeabi-v7a)
 Path: /Users/chris/.android/avd/Android_Wear_Round_API_21_2_-_Armeabi.avd
 Target: Android 5.0.1 (API level 21)
 Skin: AndroidWearRound
 SD Card: 1G
 Snapshot: no
 hw.lcd.density: 240
 hw.dPad: yes
 avd.ini.encoding: UTF-8
 hw.camera.back: none
 disk.dataPartition.size: 5G
 hw.gpu.enabled: yes
 runtime.network.latency: none
 skin.dynamic: no
 hw.keyboard.lid: yes
 hw.keyboard: yes
 hw.cpu.model: cortex-a8
 runtime.network.speed: full
 hw.device.hash2: MD5:f0b5528a2769367d5624a75b0c789fe4
 hw.ramSize: 512
 tag.id: android-wear
 tag.display: Android Wear
 hw.sdCard: yes
 hw.device.manufacturer: Google
 hw.mainKeys: yes
 hw.accelerometer: yes
 hw.trackBall: no
 hw.device.name: wear_round
 hw.battery: yes
 hw.sensors.proximity: yes
 AvdId: Android_Wear_Round_API_21_2_-_Armeabi
 hw.sensors.orientation: yes
 hw.audioInput: yes
 hw.camera.front: none
 hw.gps: yes
 avd.ini.displayname: Android Wear Round API 21 2 - Armeabi
 snapshot.present: no
 vm.heapSize: 32
 runtime.scalefactor: auto

设备上的文件存储列表:

Chris-MacBook:DataLayerDataMap chris$ adb -s emulator-5554  shell df
Filesystem               Size     Used     Free   Blksize
/dev                   242.9M    24.0K   242.8M   4096
/sys/fs/cgroup         242.9M    12.0K   242.9M   4096
/mnt/asec              242.9M     0.0K   242.9M   4096
/mnt/obb               242.9M     0.0K   242.9M   4096
/system                541.3M   333.9M   207.5M   4096
/data                  541.3M   539.6M     1.8M   4096
/cache                  65.0M     4.0M    60.9M   4096
/mnt/media_rw/sdcard     5.0G    22.0K     5.0G   2048
/storage/sdcard          5.0G    22.0K     5.0G   2048

0 个答案:

没有答案