0

I'm using an Amlogic TV Box with Android 9.

I'm trying to get an app to launch at startup, but the app will not launch.


The method I'm using is:

/data/local/userinit.sh

#!/system/bin/sh
am start com.package.name

or

#!/system/bin/sh
am start com.package.name/com.package.name.ActivityName

This version of Android does not have the Auto-start manager in settings to do it the easy way.

Matt McManis
  • 101
  • 2

0 Answers0