Install and run Android in Androidx86 emulator - This adb server's $ADB_VENDOR_KEYS is not set
2017-04-23 17:51
891 查看
http://www.developersite.org/101-93904-android
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:
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:
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
But it didn't help me.
How can I solve this problem ?
How can I authorize device and set $ADB_VENDOR_KEYS ?
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
But it didn't help me.
How can I solve this problem ?
How can I authorize device and set $ADB_VENDOR_KEYS ?
相关文章推荐
- error: device unauthorized.This adb server's $ADB_VENDOR_KEYS is not set 问题的解决
- Xcode 安装不了文档,出现 Could not download and install iOS 8. The certificate for this server is invalid...
- asm.jar使用不了,Error:Could not find adb, please install Android SDK and set path to adb
- ANDROID_HOME is not set and "android" command not in your PATH解决
- filegroup reference and partitioning scheme' is not supported in this version of sql server.
- "ANDROID_HOME is not set and "android" command not in your PATH. "错误的解决办法
- "Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.".
- asm.jar使用不了,Error:Could not find adb, please install Android SDK and set path to adb
- phonegap 安装报错 “ANDROID_HOME is not set and "android" command not....”
- install fms in linux: error: if you have warned ERROR: Your distribution, unknown, is not supported by this
- #1055 - Expression of SELECT list is not in GROUP BY clause and contains nonaggregated column this i
- Intel HAXM is required to run this AVD. /dev/kvm is not found.Enable vt-x in bios security settings.
- "The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods i"解决方法
- IOS 从网上下载的项目,运行时出现“The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update y”
- Android开发模拟器报错问题解决“The Connection to adb is down,and a server error has occured”
- adb server version (31) doesn't match this client (36); killing... error: could not install *sm
- mysql: Character set 'utf8mb4' is not a compiled character set and is not specified in the '/usr/sha
- consider this problem again and again, resolve that AndEngine not run in AVD Finally
- FAIL - Context /SsmApp is defined in server.xml and may not be undeployed
- 【Android】提示Note: This element has no attached source and the Javadoc could not be found in the attac