Code changed in jenkins
User: Michael Musenbrock
Path:
src/main/java/hudson/plugins/android_emulator/AndroidEmulator.java
src/main/java/hudson/plugins/android_emulator/Constants.java
src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java
src/main/java/hudson/plugins/android_emulator/SdkInstaller.java
src/main/java/hudson/plugins/android_emulator/sdk/AndroidSdk.java
src/main/java/hudson/plugins/android_emulator/sdk/EmulatorToolLocator.java
src/main/java/hudson/plugins/android_emulator/sdk/Tool.java
src/main/java/hudson/plugins/android_emulator/util/Utils.java
src/main/resources/hudson/plugins/android_emulator/AndroidEmulator/config.jelly
src/main/resources/hudson/plugins/android_emulator/Messages.properties
src/main/webapp/help-deviceDefinition.html
src/test/java/hudson/plugins/android_emulator/AndroidPlatformTest.java
src/test/java/hudson/plugins/android_emulator/EmulatorConfigTest.java
src/test/java/hudson/plugins/android_emulator/sdk/AndroidSdkTest.java
src/test/java/hudson/plugins/android_emulator/util/UtilsTest.java
http://jenkins-ci.org/commit/android-emulator-plugin/3b9e5b948f4c542301aa048f4147189f7e7856d7
Log:
[FIXED JENKINS-40178][FIXED JENKINS-43215][FIXED JENKINS-44490] Add support for Android Emulator 2.0
Added support for the 'new' Android Emulator 2.0, which got support in SDK Tools v25 but
was lacking some functionality the plugin relies on. Since SDK Tools v26 the new emulator
engine supports all needed flags and parameters.
The plugin creates AVDs and starts the emulator in legacy format or in the new format,
dependent of which SDK Tools version is installed (<= 25 legacy, >= 26 new format).
A new configuration option was added ('Device definition') which is needed (to avoid
user input) on AVD creation. It is used to define a specific device ('avdmanager list device'),
but it is only respected if SDK Tools >= 26 are used.
Added a helper class AndroidPlatformVersions which holds the current data of platforms,
which was moved from AndroidPlatform. Additional AndroidPlatform got refactored to
handle and retrieve more information needed for the emulator (package path) and
for more convenient access to vendor and api information of the used platform.
Yeah, I think that a recent emulator release fixed the last of the issues, but I haven't confirmed.
Last time I checked, using the new engine, I think I had problems starting emulators that had been created and were started with the old engine — something about not being able to find the correct kernel image.
I'll try and check it out, and see what issues there are, if any. If you fancy trying it out, you can change the line of code that keeps us on the old engine and try out a build of the plugin. Or I can create a build of the plugin hardcoded to the new engine if you need for testing.