从 Android Studio 启动模拟器,它的主页按钮不起作用。当我按下主页按钮时,在 logcat 中我可以看到
I/WindowManager: Not starting activity because user setup is in progress: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 (has extras) }
使用键盘快捷键(键盘主页按钮)时也会发生同样的情况(相同的 logcat)。
我重新启动了模拟器和我的机器几次,但没有帮助。
我想要实现的事情是通过主页按钮长按杀死我的应用程序
模拟器详细信息:
Name: 2_7_QVGA_slider_API_23_L
CPU/ABI: ARM (armeabi-v7a)
Path: C:\Users\sh56000\.android\avd\2_7_QVGA_slider_API_23_L.avd
Target: Android 6.0 (API level 23)
Skin: 240x320
SD Card: 100M
Snapshot: no
hw.dPad: no
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: 2.7in QVGA slider
vm.heapSize: 16
skin.dynamic: yes
hw.device.manufacturer: Generic
hw.gps: yes
hw.audioInput: yes
hw.keyboard.lid: yes
hw.cpu.model: cortex-a8
tag.id: default
hw.camera.back: none
hw.mainKeys: yes
AvdId: 2_7_QVGA_slider_API_23_L
hw.camera.front: none
hw.lcd.density: 120
runtime.scalefactor: auto
avd.ini.displayname: 2.7 QVGA slider API 23 L
snapshot.present: no
hw.device.hash2: MD5:89d*************55e42054c413
hw.ramSize: 512
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Default
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: yes
disk.dataPartition.size: 200M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes