1. Download our Official Android App: Forums for Android!

Can't install my own app on my Watch

Discussion in 'Android Development' started by Stefan Meyer, Nov 8, 2018 at 5:31 PM.

  1. Stefan Meyer

    Stefan Meyer Lurker
    Thread Starter
    Aug 3, 2018

    Aug 3, 2018
    Hello all,

    First off my devices and software:
    Smartphone: Samsung Galaxy S5 (Android 4.4.2)
    Smartwatch: Motorola Moto 360 First generation (Android 6.0.1)
    Development software: Android Studio 3.1.3
    Operating system: Windows 7 Pro 64 Bit.

    I was able to install my own app on my Smartphone.
    The only thing I did was generating an APK file, copying it to the sd card of my phone
    and installing it.
    (The phone was connected via USB.)
    I had to change the minimum sdk to 19 (target sdk = 27).

    Now I tried to do the same with my 2nd app (which is just for the watch).
    Unfortunately, I haven't had success yet.
    When I copy the app to my phone, I can't start it -> Parsing error
    The problem is that I can't set the minimum sdk to lower than 23.

    After reading a lot on the Internet I tried out a completely different way.
    For both devices I enabled the dev mode and turned on USB debugging + Bluetooth USB debugging.
    Additionally I went to Windows 7 system settings and added the path of Android.
    Right now, I'm able to type in commands like "adb devices" in cmd.exe

    Sadly, I can't connect to my watch.
    In on YT tutorial they say, "adb forward tcp:6666 localabstract:/adb-hub".
    Whenever I try this, I receive the error message: "error: unknown host service"
    Also another hint didn't work:
    adb forward -remove tcp:4444
    adb forward tcp:4444localabstract:/adb-hub
    adb connect

    As you can see, both ways don't lead to success.

    Do you have any suggestion how I can install my app on my watch?
    I don't prefer any specific way, the main point is that it works.

    Thanks for any help!

    P.S. If you need further details, please let me know.



Share This Page