2017-09-22 7 views
2

몇 가지 에뮬레이트 된 장치에서 작동하는 예제를 얻으려고 시도했지만 쉬운 방법이 아닙니다. Bluetooth는 에뮬레이터에서 지원되지 않으므로 auto-fall-back to WiFi, or even supersonic communication이라고 생각합니까? 그러나 권한을 얻은 후에도 (yay) 다음과 같이 종료됩니다.Google Nearby Connections 2.0은 에뮬레이터에서 개발을 지원합니까?

E/NearbyConnections: Failed startAdvertising(1, 4, 0, 5, 5, 8) for client 102877343 because we couldn't start listening for incoming Bluetooth connections to ServiceId MYID 
W/MeshConnection: Advertising failed. Received status 8007 STATUS_BLUETOOTH_ERROR 
E/NearbyConnections: Failed startDiscovery() for client 102877343 because we couldn't scan on Bluetooth nor BLE for serviceId MYID 
W/MeshConnection: Discovering failed. Received status 8007 STATUS_BLUETOOTH_ERROR 

답변

2

이 좀 주위에 물어 않았다, 그리고 인근 연결 2.0 연결을 블루투스를 사용하는 것으로 나타났다 가능한 경우, 다음 기회 주의적으로 무선으로 업그레이드, 그래서 일을 킥오프 BT 필요하지 않습니다 - 그래서 실행 그것 에뮬레이터에.