diff --git a/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 2fd22da61d4e1..7da7a5f06f0be 100644 --- a/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -171,7 +171,7 @@ public FlutterView(@NonNull Context context, @NonNull RenderMode renderMode) { renderSurface = flutterTextureView; } else { throw new IllegalArgumentException( - String.format("RenderMode not supported with this constructor: ", renderMode)); + String.format("RenderMode not supported with this constructor: %s", renderMode)); } init(); @@ -265,7 +265,7 @@ public FlutterView( renderSurface = flutterTextureView; } else { throw new IllegalArgumentException( - String.format("RenderMode not supported with this constructor: ", renderMode)); + String.format("RenderMode not supported with this constructor: %s", renderMode)); } init();