我现在正在开发Flutter应用,并尝试将Android应用的图标更改为.png图像。在Android Studio上,当我执行File-> New-> Image Asset:
时,出现此错误对此有任何帮助吗?
答案 0 :(得分:1)
在您的public partial class Form1 : Form
{
public System.Timers.Timer holder;
Label say;
public Form1()
{
InitializeComponent();
say = new Label();
say.Text="start text";
this.Controls.Add(say);
holder = new System.Timers.Timer(5000);
holder.Elapsed += new ElapsedEventHandler(holdone);
holder.Enabled = true;
}
public void holdone(Object source, ElapsedEventArgs e)
{
//messagebox is correct but onscreen gui is not
say.Text = "new after seconds";
MessageBox.Show(say.Text);
}
}
文件中添加
pubspec.yaml
可以找到更多信息here