Previously I would just attach my Samsung Note 4 to my computer, have it in developer mode, APK uploaded from the SDK, no problem. I got a LG G5, developer mode on, allow installation from apps from sources other than Google Play Store, on, result?
$ adb push C:\Users\me\AndroidStudioProjects\ThisProject\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.this.project
$ adb shell pm install -r "/data/local/tmp/com.this.project"
Error: Could not access the Package Manager. Is the system running?
$ adb shell pm uninstall com.this.project
Unknown failure (Error: Could not access the Package Manager. Is the system running?)
Error while Installing APK
What I can do is email myself an APK, open it in my gmail app in my phone, download and install it, which is not the way I would like to debug my APKs. I'm missing a setting or configuration here, just not sure what it is yet, thanks.