- 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.
推薦閱讀
- Learn TypeScript 3 by Building Web Applications
- TypeScript Essentials
- 測試驅(qū)動開發(fā):入門、實戰(zhàn)與進(jìn)階
- Practical Internet of Things Security
- C語言程序設(shè)計實踐教程
- 用Python實現(xiàn)深度學(xué)習(xí)框架
- Java程序設(shè)計:原理與范例
- Java Web程序設(shè)計任務(wù)教程
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實戰(zhàn)全流程詳解(入門與提高篇)
- C#應(yīng)用程序設(shè)計教程
- Maker基地嘉年華:玩轉(zhuǎn)樂動魔盒學(xué)Scratch
- HTML5移動前端開發(fā)基礎(chǔ)與實戰(zhàn)(微課版)
- Learning Cocos2d-JS Game Development
- Less Web Development Cookbook
- 大話程序員:從入門到優(yōu)秀全攻略