Flutter commands is not workimg
when I run flutter command as a root user it did not run but it show something like an error
Woah! You appear to be trying to run flutter as root.
We strongly recommend running the flutter tool without superuser privileges.
/
????
Doctor summary (to see all details, run flutter doctor -v):
Dart_NewStringFromUTF8 expects argument 'str' to be valid UTF-8.
I do not understand what I am doing wrong .Kindly help me.
I am trying to run flutter in Kali Linux with android studio installed.
Did I need to run flutter as a non-root user, if yes then I need to install everything for another user . is there any way to do this?
Run flutter doctor
and do as it suggest
Since you have installed the android studio in your root account.
there is no other option for you.
you have to give a non-root user the permission to use it.
you cant log in the shell alone also.
I recommend you to install only flutter there and use in some text editor an shell commands that's better than as.
kali has some different rules than normal Linux repos.
Woah! You appear to be trying to run flutter as root.
We strongly recommend running the flutter tool without superuser privileges.
/
????
Doctor summary (to see all details, run flutter doctor -v):
Dart_NewStringFromUTF8 expects argument 'str' to be valid UTF-8.
I do not understand what I am doing wrong .Kindly help me.
I am trying to run flutter in Kali Linux with android studio installed.
Did I need to run flutter as a non-root user, if yes then I need to install everything for another user . is there any way to do this?
Run flutter doctor
and do as it suggest
Since you have installed the android studio in your root account.
there is no other option for you.
you have to give a non-root user the permission to use it.
you cant log in the shell alone also.
I recommend you to install only flutter there and use in some text editor an shell commands that's better than as.
kali has some different rules than normal Linux repos.
Comments
Post a Comment