- 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.
推薦閱讀
- 黑客攻防從入門到精通(實(shí)戰(zhàn)秘笈版)
- Facebook Application Development with Graph API Cookbook
- 深入理解Bootstrap
- Mastering AWS Lambda
- Spring 5.0 By Example
- Java異步編程實(shí)戰(zhàn)
- OpenCV實(shí)例精解
- INSTANT FreeMarker Starter
- Developing Middleware in Java EE 8
- Mastering LibGDX Game Development
- Building a Quadcopter with Arduino
- 用戶體驗(yàn)增長(zhǎng):數(shù)字化·智能化·綠色化
- 從Java到Web程序設(shè)計(jì)教程
- HTML5 APP開(kāi)發(fā)從入門到精通(微課精編版)
- SQL Server 入門很輕松(微課超值版)