Sfoglia il codice sorgente

Add adb output to error message when install fails

Marcel Admiraal 4 anni fa
parent
commit
de2acbd495
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      platform/android/export/export.cpp

+ 1 - 1
platform/android/export/export.cpp

@@ -1849,7 +1849,7 @@ public:
 		err = OS::get_singleton()->execute(adb, args, &output, &rv, true);
 		print_verbose(output);
 		if (err || rv != 0) {
-			EditorNode::add_io_error("Could not install to device.");
+			EditorNode::add_io_error("Could not install to device: " + output);
 			CLEANUP_AND_RETURN(ERR_CANT_CREATE);
 		}