我正在尝试使用 android studio 的终端触发低内存事件:
To trigger your onTrimMemory callbacks:
adb shell am send-trim-memory
e.g. adb shell am send-trim-memory com.example.app MODERATE
但我收到此消息 Unknown command 'send-trim-memory' 。我在最新的 android 上使用模拟器。
谢谢
我正在尝试使用 android studio 的终端触发低内存事件:
To trigger your onTrimMemory callbacks:
adb shell am send-trim-memory
e.g. adb shell am send-trim-memory com.example.app MODERATE
但我收到此消息 Unknown command 'send-trim-memory' 。我在最新的 android 上使用模拟器。
谢谢