装置上的应用程式解除安装后,系统无法运作 [英] After uninstall app on device flutter run not work

查看:87
本文介绍了装置上的应用程式解除安装后,系统无法运作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vs代码来构建我的Flutter应用. 但是在我的设备上卸载调试应用程序后,"flutter run"命令无法正常运行,并停止安装状态. 请帮我. 谢谢.

I'm using vs code for building my flutter app. But after uninstall debug app on my device, 'flutter run' command not working properly and stop in installing status. Please help me. Thanks.

Launching lib/main.dart on RNE L21 in debug mode...
Initializing gradle...                                      ۱۱٫۷s
Resolving dependencies...                                   ۱۴٫۹s
Gradle task 'assembleDebug'...
Gradle task 'assembleDebug'... Done                         ۱۰۱٫۷s
Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...                  ۶٫۱s

推荐答案

虽然卸载了flutter应用程序,但是它似乎在手机中不再可用,因此无法正确删除(仅在flutter情况下).有解决这个问题的方法.您可以运行adb并从软件包中卸载.这是分步过程.
如果您在窗口中:
第1步.在命令提示符下打开sdk路径
例如
C:\Users\kharag\AppData\Local\Android\Sdk\platform-tools
第2步.从flutter应用程序中搜索您的应用程序包名称(将在AndroidManifest.xml中)
例如
com.mycodingchannel.icttapp
第3步.现在,通过运行命令

Its seems like when you uninstall flutter application, though it is no longer available in phone It is not deleted properly(Only in flutter case). There fore to fix this. you can run adb and uninstall from package. Here is step by step procedure.
If you are in window:
Step 1. open your sdk path in command prompt
eg.
C:\Users\kharag\AppData\Local\Android\Sdk\platform-tools
Step 2. Search your app package name from flutter app (It will be in AndroidManifest.xml)
eg.
com.mycodingchannel.icttapp
Step 3. Now uninstall your app by running command

adb uninstall com.mycodingchannel.icttapp   

全部,现在运行您的应用程序,它应该可以运行.谢谢

That all, Now run your app and it should work. Thanks

这篇关于装置上的应用程式解除安装后,系统无法运作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆