"No, missing feature: WATCH" when I try to run my smartphone app with wear app?

user1583010

I have a smartphone app with a wear app that has been packaged inside of it, similar to the first two steps of this section:

https://developer.android.com/training/wearables/apps/packaging.html#Studio

I was originally told that my smartphone wasn't running an SDK large enough to support the app (my phone was using KitKat, apparently I needed API 20), so now I am using my Nexus 7 with Android L preview, and this problem has appeared:

Nexus 7 Compatible: No, missing feature: WATCH

I have a smartwatch emulator and tablet running, and both are connected using the adb -d forward tcp:5601 tcp:5601 trick, so I have no idea how to fix this now!

How can I get the smartphone app to run and automatically allow the wear app to install onto the emulator?

Maciej Ciemięga

In your project you have two applications:

  • Mobile
  • Wearable


Mobile app should be installed on mobile device (phone/tablet) and Wearable app should be installed on Android Wear device.

This message No, missing feature: WATCH means that you're trying to install Wearable app on mobile phone - you shouldn't do that, your mobile device is not a WATCH. So once again: just launch Mobile app on mobile and Wearable app on Android Wear.

I was originally told that my smartphone wasn't running an SDK large enough to support the app (my phone was using KitKat, apparently I needed API 20), so now I am using my Nexus 7 with Android L preview, and this problem has appeared:

Only the Wearable app should require API level 20, but Mobile app can target any other SDK level (like 10, 14 etc.). You don't need to set higher SDK level for Mobile app only because it supports Wearable app.

How can I get the smartphone app to run and automatically allow the wear app to install onto the emulator?

As described in the tutorial that you've linked:

If packaged properly, when users download the handheld app, the system automatically pushes the wearable app to the paired wearable.

But please read the note at the top of this page:

Note: This feature doesn't work when you are signing your apps with a debug key when developing. While developing, installing apps with adb install or Android Studio directly to the wearable is required.

This means that automatically installing Wearable app after installing Mobile app (with Wearable app packaged inside) will only work after signing app with your publishing certificate (and not with the debug one - as is done during standard application Launch from Android Studio/Eclipse).

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

从Real Device卸载Android Wear App

来自分类Dev

How to start mobile app from wear app?

来自分类Dev

How to upload audio in soundcloud via my app and i want to send that id also to my server

来自分类Dev

ObjectDisposedException when I try to use an Image source

来自分类Dev

How do I force SSL when running an express app behind Apache?

来自分类Dev

How does the app run on sencha touch when deployed on device?

来自分类Dev

为Wear App建立Gradle失败

来自分类Dev

Android Mobile / Wear App onMessage收到一条消息多次调用

来自分类Dev

Can I show a custom Local notification View or an Custom Alert view when app is in Background?

来自分类Dev

AndroidStudio 0.8.2 Run App或Debug App失败

来自分类Dev

Configure Azure to run nodejs app in development environment

来自分类Dev

When I run msbuild, it makes a call to aspnet_compiler, but doesn't compile my site

来自分类Dev

Google Play开发者控制台上的Android Wear + Phone App

来自分类Dev

Where is my APK stored when i run program on a android device?

来自分类Dev

Why is my Yesod app throwing a TlsNotSupported exception when I try to log in?

来自分类Dev

How do I know if my app has been minimized?

来自分类Dev

Open my Android app when clicking on .mp3 link

来自分类Dev

app crashing when ever i entering negitive value

来自分类Dev

Get data from Smartwatch Android Wear to Smartphone

来自分类Dev

Detect when app is opened/resumed

来自分类Dev

Android Wear Step Counter crashing app

来自分类Dev

When Int overflow cause IOS app crash, how can I remark it

来自分类Dev

如何停止flask app.run()?

来自分类Dev

Android Studio : My Layout appears Differently when the app installed on different screen size Help me someone

来自分类Dev

How to set my activity properties to avoid interrupting other apps when my app comes in foreground

来自分类Dev

创建Wear App XML时面临的问题:AAPT:错误:找不到属性android:boxedEdges

来自分类Dev

create-react-app my-app --typescript与--template typscript

来自分类Dev

I'm using a passport-jwt auth strategy in my nestJS app (with authGuard), how to get access to the token payload in my controller?

来自分类Dev

为Wear App建立Gradle失败

Related 相关文章

  1. 1

    从Real Device卸载Android Wear App

  2. 2

    How to start mobile app from wear app?

  3. 3

    How to upload audio in soundcloud via my app and i want to send that id also to my server

  4. 4

    ObjectDisposedException when I try to use an Image source

  5. 5

    How do I force SSL when running an express app behind Apache?

  6. 6

    How does the app run on sencha touch when deployed on device?

  7. 7

    为Wear App建立Gradle失败

  8. 8

    Android Mobile / Wear App onMessage收到一条消息多次调用

  9. 9

    Can I show a custom Local notification View or an Custom Alert view when app is in Background?

  10. 10

    AndroidStudio 0.8.2 Run App或Debug App失败

  11. 11

    Configure Azure to run nodejs app in development environment

  12. 12

    When I run msbuild, it makes a call to aspnet_compiler, but doesn't compile my site

  13. 13

    Google Play开发者控制台上的Android Wear + Phone App

  14. 14

    Where is my APK stored when i run program on a android device?

  15. 15

    Why is my Yesod app throwing a TlsNotSupported exception when I try to log in?

  16. 16

    How do I know if my app has been minimized?

  17. 17

    Open my Android app when clicking on .mp3 link

  18. 18

    app crashing when ever i entering negitive value

  19. 19

    Get data from Smartwatch Android Wear to Smartphone

  20. 20

    Detect when app is opened/resumed

  21. 21

    Android Wear Step Counter crashing app

  22. 22

    When Int overflow cause IOS app crash, how can I remark it

  23. 23

    如何停止flask app.run()?

  24. 24

    Android Studio : My Layout appears Differently when the app installed on different screen size Help me someone

  25. 25

    How to set my activity properties to avoid interrupting other apps when my app comes in foreground

  26. 26

    创建Wear App XML时面临的问题:AAPT:错误:找不到属性android:boxedEdges

  27. 27

    create-react-app my-app --typescript与--template typscript

  28. 28

    I'm using a passport-jwt auth strategy in my nestJS app (with authGuard), how to get access to the token payload in my controller?

  29. 29

    为Wear App建立Gradle失败

热门标签

归档