I have 2 variants of the same app installed on my Android device which have the same package id but different application id. I am not able to launch the application using the shell command whose application id is different than the package id.
I am aware of the following command to launch app
adb shell am start -n com.package.name/com.package.name.ActivityName
You can simply invoke
adb shell am start -n first-application-id/common-package-name.ActivityName
and
adb shell am start -n second-application-id/common-package-name.ActivityName
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.