- Android Wear Projects
- Ashok Kumar S
- 97字
- 2021-07-15 17:17:55
Enable Bluetooth debugging
We need to ensure debugging is enabled in developer options, as follows:
- Enable Debug over Bluetooth
- Install the companion app on the phone (download it from https://play.google.com/store/apps/details?id=com.google.android.wearable.app&hl=en)
- Go to settings in the companion app
- Enable debugging over Bluetooth
- Connect the phone to the machine through the cable
- You can use the following commands to establish the connection:
adb forward tcp:4444 localabstract:/adb-hub
adb connect 127.0.0.1:4444
In your Android Wear, just allow ADB Debugging when it asks.
Now that we have a working setup of our development environment, let's understand the basic Android Wear-specific UI components.
推薦閱讀
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- TypeScript Blueprints
- 計算機(jī)圖形學(xué)編程(使用OpenGL和C++)(第2版)
- Quarkus實踐指南:構(gòu)建新一代的Kubernetes原生Java微服務(wù)
- HTML5 and CSS3 Transition,Transformation,and Animation
- JavaScript動態(tài)網(wǎng)頁開發(fā)詳解
- Learn React with TypeScript 3
- Java面向?qū)ο蟪绦蛟O(shè)計
- Spring MVC+MyBatis開發(fā)從入門到項目實踐(超值版)
- 人工智能算法(卷1):基礎(chǔ)算法
- 計算機(jī)應(yīng)用技能實訓(xùn)教程
- Visual Basic程序設(shè)計基礎(chǔ)
- Android技術(shù)內(nèi)幕(系統(tǒng)卷)
- Swift iOS Programming for Kids
- MEAN Blueprints