Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
デバッグ用にアクティビティ スタックの現在のサイズを取得したいのですが、それを行う方法はありますか?
デバイスからそれを行う方法はありませんが (私が認識しています)、デバッグ用の場合は常にdumpsys activityadb シェルから呼び出すことができます。または、コマンドラインでの 1 回限りの場合は、ただadb shell dumpsys activity
dumpsys activity
adb shell dumpsys activity