File tree 1 file changed +9
-8
lines changed
mode/src/processing/mode/android 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,8 @@ protected boolean create(final AndroidSDK sdk) throws IOException {
374
374
"-c" , DEFAULT_SDCARD_SIZE ,
375
375
"-d" , device ,
376
376
"-p" , avdPath .getAbsolutePath (),
377
- "-f"
377
+ "--skin" , skin ,
378
+ "--force"
378
379
};
379
380
380
381
ProcessBuilder pb = new ProcessBuilder (cmd );
@@ -412,13 +413,13 @@ protected boolean create(final AndroidSDK sdk) throws IOException {
412
413
413
414
if (process .exitValue () == 0 ) {
414
415
// Add skin to AVD's config file
415
- File configFile = new File (avdPath , "config.ini" );
416
- if (configFile .exists ()) {
417
- try (PrintWriter output = new PrintWriter (new FileWriter (configFile .getAbsolutePath (), true ))) {
418
- output .printf ("%s\r \n " , "skin.name=" + skin );
419
- }
420
- catch (Exception e ) {}
421
- }
416
+ // File configFile = new File(avdPath, "config.ini");
417
+ // if (configFile.exists()) {
418
+ // try (PrintWriter output = new PrintWriter(new FileWriter(configFile.getAbsolutePath(), true))) {
419
+ // output.printf("%s\r\n", "skin.name=" + skin);
420
+ // }
421
+ // catch (Exception e) {}
422
+ // }
422
423
return true ;
423
424
}
424
425
You can’t perform that action at this time.
0 commit comments