"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

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

来自分类Dev

如何包装Wear App

来自分类Dev

How to start mobile app from wear app?

来自分类Dev

为Wear App建立Gradle失败

来自分类Dev

Android Wear Step Counter crashing app

来自分类Dev

从Real Device卸载Android Wear App

来自分类Dev

为Wear App建立Gradle失败

来自分类Dev

Get data from Smartwatch Android Wear to Smartphone

来自分类Dev

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

来自分类Dev

Open my Android app when clicking on .mp3 link

来自分类Dev

在具有Android Studio的App中设置Android Wear权限

来自分类Dev

How do I know if my app has been minimized?

来自分类Dev

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

来自分类Dev

AndroidStudio 0.8.2 Run App或Debug App失败

来自分类Dev

app crashing when ever i entering negitive value

来自分类Dev

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

来自分类Dev

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

来自分类Dev

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

来自分类Dev

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

来自分类Dev

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

来自分类Dev

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

来自分类Dev

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

来自分类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

ObjectDisposedException when I try to use an Image source

来自分类Dev

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

来自分类Dev

create-react-app my-app ...命令未找到

来自分类Dev

无法识别“create-react-app my-app”

来自分类Dev

如何停止flask app.run()?

来自分类Dev

Configure Azure to run nodejs app in development environment

Related 相关文章

  1. 1

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

  2. 2

    如何包装Wear App

  3. 3

    How to start mobile app from wear app?

  4. 4

    为Wear App建立Gradle失败

  5. 5

    Android Wear Step Counter crashing app

  6. 6

    从Real Device卸载Android Wear App

  7. 7

    为Wear App建立Gradle失败

  8. 8

    Get data from Smartwatch Android Wear to Smartphone

  9. 9

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

  10. 10

    Open my Android app when clicking on .mp3 link

  11. 11

    在具有Android Studio的App中设置Android Wear权限

  12. 12

    How do I know if my app has been minimized?

  13. 13

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

  14. 14

    AndroidStudio 0.8.2 Run App或Debug App失败

  15. 15

    app crashing when ever i entering negitive value

  16. 16

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

  17. 17

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

  18. 18

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

  19. 19

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

  20. 20

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

  21. 21

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

  22. 22

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

  23. 23

    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?

  24. 24

    ObjectDisposedException when I try to use an Image source

  25. 25

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

  26. 26

    create-react-app my-app ...命令未找到

  27. 27

    无法识别“create-react-app my-app”

  28. 28

    如何停止flask app.run()?

  29. 29

    Configure Azure to run nodejs app in development environment

热门标签

归档