I recently installed Ubuntu 20.04.1 and I installed Android Studio to develop some applications using Flutter. Everything was fine but for this app which I develop I invoke some packages that require me to migrate to AndroidX. I followed the steps but I can not compile my code and complete the migration process.
I use the command "sudo flutter run" and I see this error:
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type ChecksumService using BuildSessionScopeServices.createChecksumService().
May it be because I can not run Android Studio as a superuser? How can I solve this issue?