How to launch an application with console arguments via adb on Android 10?
Search in docs https://developer.android.com/studio/command-line/adb
Googled for two days, everywhere they write what they need like this:
adb shell am start -S -D -n projectname.app/com.unity3d.player.UnityPlayerActivity --es args '"-runTests"'
Tried some more options but nothing worked
The application is a game on Unity, there I display System.Environment.GetCommandLineArgs() directly
CodePudding user response: