Skip to content

Agradeismine/CityU_CS4514_FinalYearProject

Repository files navigation

CityU_CS4514_FinalYearProject

This is the CityU FYP.

Problems" How to debug and deploy for the Android Wear which do not have USB Debugging function:

  1. download SDK Platform Tools
  2. open cmd with corresponding file path
  3. open 'Debug over WiFi' function in Android Wear
  4. type 'adb connect (IP address):(port number)' in command prompt, e.g. 192.168.5.112:5555
  5. connected detail can found in 'adb help' or https://developer.android.com/training/wearables/get-started/debugging

If error 'more than one device/emulator' occurs: Try to

  1. adb kill-server or
  2. taskkill /f /im adb.exe

Connect the debugger to the watch" In this final step, you'll use everything: the debugger, the phone, and the watch.

  1. Connect the phone to your development machine with a USB cable.

  2. Run these two commands in the debugger:

    1: adb forward tcp:4444 localabstract:/adb-hub or adb -s 243e016f forward tcp:4444 localabstract:/adb-hub

    2: adb connect 127.0.0.1:4444

About

This is the CityU FYP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages