Browse Source

Add adb output to error message when install fails

(cherry picked from commit de2acbd4955950b5d37eca396b6ec4aadb872578)
Marcel Admiraal 4 years ago
parent
commit
aeb8cf2d2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/android/export/export.cpp

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

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