Android开发人员必备修养

adb启动特定activity

2022-08-16  本文已影响0人  PigJune

1,adb shell am start -n packagename/mainactivity name

2,通过AndroidManifest.xml查找packagename and activity name

3, packagename:

4,

5, adb shell am start -n com.android.settings/.Settings$MyDeviceInfoActivity

上一篇 下一篇

猜你喜欢

热点阅读