最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android studio - Debugging in Flutter Without Reinstalling the App - Stack Overflow

programmeradmin3浏览0评论

I have a bug in the Android version of my Flutter app that only occurs when a user updates the app. I want to debug this issue using Android Studio, but every time I run the app with flutter run, it deletes and reinstalls the app (and then the issue dose not appear. How can I prevent this?

I have a bug in the Android version of my Flutter app that only occurs when a user updates the app. I want to debug this issue using Android Studio, but every time I run the app with flutter run, it deletes and reinstalls the app (and then the issue dose not appear. How can I prevent this?

Share Improve this question asked Apr 2 at 8:15 sapir1126sapir1126 392 bronze badges 1
  • Not sure if that is possible, can you give more information, and will hot restart help in this case (not reinstalling the app)? – Daniel Onadipe Commented Apr 2 at 10:14
Add a comment  | 

2 Answers 2

Reset to default 1

One of the best tools I use in my apps is the Talker package. It provides a logs screen to track every log and error in your app. check the doc here

To prevent Flutter from uninstalling and reinstalling the app every time you run flutter run, try these:

Connect your device to the device where Flutter is installed, then open the command prompt and run the flutter logs command. After that, launch the app you want to debug.

发布评论

评论列表(0)

  1. 暂无评论