When debugging the android project, the following error occurs: Unable to upload file: no space left on device.

Source: Internet
Author: User

During debugging, the following error occurs: Java. Io. ioexception: Unable to upload file: no space left on device.

The reason is that my APK is too big. The solution is as follows:

Find the simulator directory under the AVD directory

C: \ Documents and Settings \ qijianzhou \. Android \ AVD \ advv4.avd

Modify the config. ini file

Add disk. datapartition. size = 1024

 

HW. LCD. density = 120
Sdcard. size = 512 m
Skin. Name = wqvga400
Skin. Path = platforms \ Android-14 \ skins \ wqvga400
HW. CPU. Arch = arm
Abi. type = armeabi-v7a
HW. CPU. Model = cortex-a8
VM. heapsize = 24
HW. ramsize = 256
Image. sysdir.1 = system-images \ Android-14 \ armeabi-v7a \
Disk. datapartition. size = 1024

 

Restart the simulator and run the project again.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.