简体   繁体   English

如何共享独立的Android Wear应用进行测试?

[英]How to share standalone Android Wear App for testing?

What i am trying : 我正在尝试:

I am new to the WearOS development. 我是WearOS开发的新手。 I am trying to create standalone app (for 1.x and 2.0) and share it for testing. 我正在尝试创建独立的应用程序(适用于1.x和2.0)并共享以进行测试。

As I mentioned standalone app, it's not dependent on any mobile devices, neither Android or Apple phone. 正如我提到的独立应用程序,它不依赖于任何移动设备,无论是Android还是Apple手机。

What i have tried : 我试过的

I have tried releasing an app to PlayStore as an "Internal test" and as a tester, I tried to install the app by web PlayStore install button. 我曾尝试将应用发布为“内部测试”,然后作为测试人员尝试通过网络PlayStore安装按钮安装该应用。 The PlayStore shows "... will be installed on your device soon". PlayStore显示“ ...很快将安装到您的设备上”。 But still, it's not installing the app. 但是,仍然没有安装该应用程序。 My wear is connected to the internet but no luck. 我的衣服已连接到互联网,但没有运气。

Manifest Entry: 清单输入:

<uses-feature android:name="android.hardware.type.watch"/>
<meta-data
     android:name="com.google.android.wearable.standalone"
     android:value="true" />

<uses-library
     android:name="com.google.android.wearable"
     android:required="false"/>

Question : 题 :

Is companion app is needed for standalone wear app? 独立穿戴应用是否需要伴侣应用? OR may be if you know and can share any suggestions to share standalone wear app. 或者,如果您知道并且可以分享任何建议以共享独立的穿戴应用,则可能是。

From WearOS 2.0, PlayStore is available on wear. 从WearOS 2.0开始,PlayStore可以随时使用。 So, When we open app page on PlayStore and install from there by selecting wear device, wear 2.0 devices are able to get the app directly through the PlayStore without companion app. 因此,当我们在PlayStore上打开应用页面并通过选择穿戴设备从那里安装时,穿戴2.0设备可以直接通过PlayStore获取该应用,而无需配套应用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM