[英]Issue with notification in audio_service
當我在調試模式下啟動我的應用程序時,通知小部件工作完美。 但是當我編譯一個 Release 時通知欄中的按鈕沒有顯示?
Oppo A15 上的 Android 10。
我找到了解決方案。 我在文件中刪除
android/app/src/main/res/raw/keep.xml
線路:
tools:discard="@drawable/audio_service"
現在它可以工作並顯示按鈕。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.