Thanks for the information. I try setting to "emulator-x86" again and I still get the same behaviour from Jenkins: $ /opt/android-sdk-linux/tools/emulator-x86 -snapshot-list -no-window -avd hudson_en-US_160_WVGA_android-19_x86
[android] Starting Android emulator and creating initial snapshot However, if I execute from the command line, I can see the snapshot are present: $ /opt/android-sdk-linux/tools/emulator-x86 -snapshot-list -no-window -avd hudson_en-US_160_WVGA_android-19_x86 Snapshots in file '/home/jenkins/.android/avd/hudson_en-US_160_WVGA_android-19_x86.avd/snapshots.img': ID TAG VM SIZE DATE VM CLOCK 1 jenkins 1.0G 2014-05-13 12:11:26 00:07:51.870 Any ideas? On Tuesday, May 13, 2014 2:24:17 AM UTC-7, Christopher Orr wrote: > > On 10/05/14 00:49, Charles Chan wrote: > > I have been trying to use the snapshot functionality in the Android > > plugin but somehow it keeps creating a new snapshot every time. > > > > I looked at the code EmulatorConfig.hasExistingSnapshot(), and saw the > comment. But I don't think it apply? > > > > // Work around > > // https://code.google.com/p/android/issues/detail?id=34233 > > // by always using EMULATOR_ARM to view the snapshot list. > > That bug does apply. That code you quoted isn't in a released build > yet; I'm aiming to do a new plugin release this week. > > As mentioned here (and hinted at by that code), you can change the > emulator binary in your job config to get around that Android SDK tools > bug: > > http://stackoverflow.com/questions/13381460/why-is-jenkins-android-emulator-plugin-recreating-my-emulator-snapshots-in-every > > > Regards, > Chris > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
