I try to install Androidx86 emulator via VirtualBox (host computer uses windows 7) .
I use Androidx86 emulator to launch my application that applyes bluetooth. In host PC I have usb bluetooth dongle for it. I need test my application (uses bluetooth) with different screen sizes that’s why I use Androidx86.
Everything went well. I install Androidx86 on virtual box. After that I set bluetooth so that bluetooth in virtualBox uses usb bluetooth dongle on host machine.
Next task was install my application from Android Studio to Androidx86 emulator.In command line of Androidx86 I typed commands:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
From settings -> about tablet -> status -> ip address I knew IP ofAndroidx86.
In my host PC (windows 7) from next path (where SDK located)
C:\AndroidSDK\platform-tools
I typed commands:
adb kill-server
adb connect 192.168.250.116:5555
Than I tried to run Android Studio and saw Androidx86 emulator. But it was offline. When I tried to build and load my application to **Androidx86* emulator I got next error in Android Studio:
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
I repeated this commands
adb kill-server
adb connect 192.168.250.116:5555
Similar Posts:
- How to connect Android mobile phone with ADB & reasons and solutions of unable to connect to 192.168.1.100:5555
- adb: command not found [How to Solve]
- The method of eliminating “more than one device and emulator” in ADB
- How to Solve Android wireless debug Error
- Ubuntu adb :no permissions (user in plugdev group; are your udev rules wrong?);
- App Automated execution error: UiAutomationService android.accessibilityservice.IAccessibilityServiceClient$Stub$Proxy@63c31ebalready registered!
- [Solved] PANIC: Missing emulator engine program for ‘x86’ CPUS.
- [Solved] Errors reported by genymotion, UI autoviewer and appium
- [Solved] Emulator: dsound: Could not initialize DirectSoundCapture
- [Solved] Ionic Error: Could not find gradle wrapper within Android SDK.