I’ve bought a new Poynt Smart Terminal (P3303 V2.0) which has initially been configured in “production mode”, I wish to switch to “developer mode” but I cannot bind the device.
I’m running Ubuntu (18.04).
$ adb devices
List of devices attached
P6SW175JS000835 unauthorized
I’ve also followed with no success this guide https://developer.android.com/studio/run/device#setting-up
09/30 15:16:48: Launching app
$ adb push /tmp/MyApplication/app/build/outputs/apk/debug/app-debug.apk
/data/local/tmp/com.example.lrkwz.myapplication
com.android.ddmlib.AdbCommandRejectedException: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
Error while Installing APK
Relevant environment info:
$ adb version
Android Debug Bridge version 1.0.36
Revision 1:7.0.0+r33-2
$ groups
lrkwz adm cdrom sudo dip plugdev lpadmin sambashare docker
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic