Forum Discussion
Strogman
4 years agoExplorer
Adb shell start - how?
I can successfully install my (unity developed) myapp.apk file onto the Quest 2. Two issues: 1. Where does adb actually put the app? 2. I want to be able to start and restart my app at will. I can ...
Strogman
4 years agoExplorer
I figured it out. To avoid the root problem, you can do the following:
INSTALL
adb -d shell pm install -r MyApp.apk
RUN
adb -d shell am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -S -f 0x10200000 -n com.MyCompany.MyApp/com.unity3d.player.UnityPlayerActivity
You set MyCompany and MyApp in Edit/Project Settings/Player as "Company Name" and "Product Name"
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device