Przeglądaj źródła

Add adb output to error message when install fails

(cherry picked from commit de2acbd4955950b5d37eca396b6ec4aadb872578)
Marcel Admiraal 4 lat temu
rodzic
commit
42c9fefcca
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      platform/android/export/export.cpp

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

@@ -1910,7 +1910,7 @@ public:
 		err = OS::get_singleton()->execute(adb, args, true, nullptr, &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);
 		}