Permalink
Browse files

Merge pull request #37 from tommyd3mdi/master

[FIXED JENKINS-23252] Fix naming of emulator images for x86-based Google APIs.
  • Loading branch information...
orrc committed Oct 20, 2014
2 parents 923dd9f + 8a4d7ab commit 174a8e24f99532017c4690a45b077360ad6fe219
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java
@@ -147,7 +147,7 @@ private String getGeneratedAvdName() {
String locale = getDeviceLocale().replace('_', '-');
String density = screenDensity.toString();
String resolution = screenResolution.toString();
String platform = osVersion.getTargetName().replace(':', '_').replace(' ', '_');
String platform = osVersion.getTargetName().replaceAll("[^a-zA-Z0-9._-]", "_");
String abi = "";
if (targetAbi != null && osVersion.requiresAbi()) {
abi = "_" + targetAbi.replace(' ', '-');

0 comments on commit 174a8e2

Please sign in to comment.