Figured out it's an old issue with 2.10 release:
https://github.com/jenkinsci/android-emulator-plugin/blob/android-emulator-2.10/src/main/java/hudson/plugins/android_emulator/Constants.java#L49
static final String REGEX_SNAPSHOT = "[0-9]+ +"+ SNAPSHOT_NAME +" +[0-9]+M ";
Since the regex look
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
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?
// Wor
I have been trying to use the snapshot functionality in the Android plugin
but somehow it keeps creating a new snapshot every time.
$ /opt/android-sdk-linux/platform-tools/adb start-server
$ /opt/android-sdk-linux/tools/emulator -snapshot-list -no-window -avd
hudson_en-US_160_WVGA_android-19_x8