vscode上运行flutter run提示D/skia (26189): Shader compilation error
在VsCode运行flutter run运行demo示例,有如下编译错误的提示,该如何解决这个错误编译的提示,错误提示内容为:
D/skia (26189): Shader compilation error
D/skia (26189): ------------------------
D/skia (26189): Errors:
D/skia (26189):
D/skia (26189): Shader compilation error
D/skia (26189): ------------------------
D/skia (26189): Errors:
D/skia (26189):
demo示例的代码如下:
//引入基础样式
import 'package:flutter/material.dart';
void main()=>runApp(MyApp());
class MyApp extends StatelessWidget{
@override
Widget build(BuildContext context){
return MaterialApp(
title: 'Welcome to Flutter',
home:Scaffold(
appBar: AppBar(
title: Text("App Flutter"),
),
body: Center(
child: Text("App Flutter body"),
)
)
);
}
}