Cannot activate google service App

Hi I cannot run Youtube by Appium, but other installed by play market applications I can.
I use it with Python script:
driver.execute_script(‘mobile: activateApp’, {‘appId’: ‘com.google.android.youtube’})

Hi…why do you want to open the youtube app?
pretty sure it wants a bundle id not an app id though.

for automate posting , but this method is nice for tiktok and instagram

okay - on Android I would just ask adb to spawn the “activity” using the monkey not to run the app by app-id , the monkey will find the activity path and run it. on iOS, you might be blocked though. I’m assuming you use adb alongside appium like most of us probably already do.