Keep track of problems encountered in development and constantly update
1.AVD Simulator boot card on Android interface:
Cause: Manually set the internal storage size.
When creating the simulator internal storage do not modify, otherwise it will not start, even if the start, the volume of the modification does not change.
That is, when the configuration has become such as 1G, actually started up to the adroid system to see the default 200m.
2. Insufficient space: Android AVD internal storage Insufficient
The default space is only 200m, the actual availability of less, installed a few programs is not enough.
Workaround: Capacity expansion
Method 1: Command-line methods
Test result: Not available, it is said that the old version of Android is available
To start with the command line, extend the internal storage to 1G:
EMULATOR-AVD Myemulatorname-partition-size &
Method 2:
See Add internal storage for Android emulator (Internal Storage)
Shell Code
- #进入到avd目录下
- CD ~/.ANDROID/AVD/NEXUS5
- #格式化并重置userdata-qemu.img Size
- E2fsck-f userdata-qemu.img
- RESIZE2FS userdata-qemu.img 2000M
the operating system should default to E2fsprogs,linux with Yum installed, MAC OS x available port installation (or the other way you like);Cygwin installation is required on Windows. After the above expansion, and then restart the simulator, you will find that the internal storage has been expanded.
3.AVD Installation Path Change
On the computer right-click on the property, select environment variable, then add a new environment variable for the user, the variable name is "Android_sdk_home", and then change the value of the variable to the location where you want to place the ". ANDROID" folder (AVD information)
Log off and re-login to restart emulator.
Android Studio 1.4 Development Error Record-constantly updated