Hi,
I repeatedly encounter a locked AVD/emulator when enabling the "Wipe user
data" flag. In addition, previously installed .apk files are still present.
The only time when I can guarantee a AVD will start up 'wiped' is
immediately after creating one. I suspect the tools may have some issue in
where XP stores the device information by default (C:\Documents and
Settings\{USER}\.android\) yet I've been unable to find anything that
overrides that setting. The environment and steps I use to create and
startup my AVD are below. I'm curious if anyone else is having this issue or
knows a workaround?

thanks
-jason

Environment Details:
- OS: WinXP SP3
- Eclipse IDE for Java Developers v.1.3.2.20110218-0812
- Eclipse Platform v.3.6.2.M20110210-1200
- Android Development Toolkit Plugin for Eclipse
v.12.0.0.v201106281929-138431
- JDK 1.6.0_25

Steps to reproduce:
1. Launch the SDK/AVD Manager from Eclipse and create a Google 8 API AVD.
2. Start AVD from SDK/AVD Manager with “Wipe user data” = true.
[2011-07-20 16:11:37 - SDK Manager] Deleting file C:\Documents and
Settings\jarmy.ST-USERS\.android\avd\google8test.ini
[2011-07-20 16:11:37 - SDK Manager] Deleting folder C:\Documents and
Settings\jarmy.ST-USERS\.android\avd\google8test.avd
[2011-07-20 16:11:37 - SDK Manager] AVD 'google8test' deleted.
[2011-07-20 16:12:10 - SDK Manager] Created AVD 'google8test' based on
Google APIs (Google Inc.), ARM (armeabi) processor,
[2011-07-20 16:12:10 - SDK Manager] with the following hardware config:
[2011-07-20 16:12:10 - SDK Manager] hw.lcd.density=240
[2011-07-20 16:12:10 - SDK Manager] vm.heapSize=24
3. Shut down AVD and SDK/AVD Manager
4. Create a Android JUnit Test target with
android.test.IntrumentationTestRunner as the Instrumentation runner and set
the following targets:
- Deployment Target Selection Mode = Automatic
- AVD Name = google8test
- Target Name = Google APIs (Google Inc.); Platform = 2.2; API Level = 8;
CPU/ABI = ARM (armebi)
- Emulator launch params: Network Speed  = Full; Network Latency = None;
Wipe User Data = True; Disable Boot Animation = True
5. Run Android JUnit target, click Yes when prompted to 'wipe all user data
when starting this emulator".

E

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to