模擬器已成功啓動,但apk部署無法正常工作。的Visual Studio 2015年告訴我下面的錯誤:Apache Cordova的Visual Studio 2015工具。無法從Android調試橋獲取設備的序列號
Could not get serial number of device from the Android Debug Bridge (adb.exe). Please stop the ADB server process and try again.
如果我試圖拖動和APK手動拖放到模擬器,模擬器告訴我下面的錯誤:
File transfer failed. Error: Unable to install the file through Adb. Connecting to Android Device using Adb failed. empty host name
在Tools -> Options -> Tools for Apache Cordova -> Environment Variables
和adb.exe
位於所有路徑在C:\Program Files (x86)\Android\android-sdk\platform-tools
都可以。