Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-40178][FIXED JENKINS-43215][FIXED JENKINS-44490] Add s…
…upport 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.
- Loading branch information
Showing with 758 additions and 176 deletions.
- +26 −9 src/main/java/hudson/plugins/android_emulator/AndroidEmulator.java
- +250 −43 src/main/java/hudson/plugins/android_emulator/Constants.java
- +71 −30 src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java
- +23 −41 src/main/java/hudson/plugins/android_emulator/SdkInstaller.java
- +34 −4 src/main/java/hudson/plugins/android_emulator/sdk/AndroidSdk.java
- +11 −0 src/main/java/hudson/plugins/android_emulator/sdk/EmulatorToolLocator.java
- +10 −7 src/main/java/hudson/plugins/android_emulator/sdk/Tool.java
- +43 −15 src/main/java/hudson/plugins/android_emulator/util/Utils.java
- +4 −0 src/main/resources/hudson/plugins/android_emulator/AndroidEmulator/config.jelly
- +2 −1 src/main/resources/hudson/plugins/android_emulator/Messages.properties
- +4 −0 src/main/webapp/help-deviceDefinition.html
- +207 −12 src/test/java/hudson/plugins/android_emulator/AndroidPlatformTest.java
- +2 −2 src/test/java/hudson/plugins/android_emulator/EmulatorConfigTest.java
- +27 −1 src/test/java/hudson/plugins/android_emulator/sdk/AndroidSdkTest.java
- +44 −11 src/test/java/hudson/plugins/android_emulator/util/UtilsTest.java
There are no files selected for viewing
Oops, something went wrong.