I take back the file system statement, and here is the bug report with updates on the issues.
https://code.google.com/p/android/issues/detail?id=70472 On Friday, May 30, 2014 11:34:56 AM UTC+2, Diego Costantini wrote: > > It is even worse than I thought. The field to use in the Jenkins plugin is > "Android OS version" > 1 - I cannot use the image name anymore because of the brackets > 2 - If I use simply the OS version there is no way to specify with or > without Google APIs, anyway I tried 19 and obviously it doesn't work: > > Error: Target id is not valid. Use 'android list targets' to get the target > ids. > > Because that is the id number. > 3 - So I used 16, since I have: > id: 16 or "Google Inc.:Google APIs (x86 System Image):19" > Name: Google APIs (x86 System Image) > Unfortunately, for some reason it takes android-16 as a target (why not > android-19 before then?) > > So, perhaps because of shortcomings of the Jenkins plugin, this latest > change in ADT is pretty much blocking for me (but I believe I am not alone). > BTW: it might be solved in next (latest) version of the plugin, but I had > to open a bug for another blocking issue there: > https://issues.jenkins-ci.org/browse/JENKINS-23134 > > > On Friday, May 30, 2014 10:03:37 AM UTC+2, Diego Costantini wrote: >> >> Since latest update (API 19 v5), Google APIs image changed id. >> It is now: Google Inc.:Google APIs (x86 System Image):19 >> The brackets are not allowed by Jenkins Android plugin for example. I >> think it's because it creates an image on file system (where brackets are >> not allowed) with that name. >> Using the id number is unreliable because it changes based on the number >> of the installed image (and I update stuff automatically, so they might be >> updated in various slaves out of my control). >> Please change the id name back to the previous or at least consider some >> accepted character (see below the error). >> >> [android] Creating Android AVD: >> /home/administrator/.android/avd/hudson_en-US_160_WXGA800_Google_Inc._Google_APIs_(x86_System_Image)_19_x86.avd >> [android] /opt/android-sdk-linux/tools/android create avd -f -a -c 256M -s >> WXGA800 -n >> hudson_en-US_160_WXGA800_Google_Inc._Google_APIs_(x86_System_Image)_19_x86 >> -t "Google Inc.:Google APIs (x86 System Image):19" --abi x86 >> [android] Failed to run AVD creation command >> Error: AVD name >> 'hudson_en-US_160_WXGA800_Google_Inc._Google_APIs_(x86_System_Image)_19_x86' >> contains invalid characters. >> Allowed characters are: a-z A-Z 0-9 . _ - >> >> [android] Could not create Android emulator: Failed to run AVD creation >> command >> >> >> -- You received this message because you are subscribed to the Google Groups "adt-dev" 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.
