简体   繁体   English

如何使 android 应用程序在 chromebook 上可用(react-native)

[英]How to make android app available on chromebook (react-native)

I have a react-native android app in the play store.我在 Play 商店中有一个 react-native android 应用程序。 It works on tablet and phone but for some reason it seems unavailable on chromebook.它适用于平板电脑和手机,但由于某种原因,它在 chromebook 上似乎不可用。 When I go into my playstore account and have a look at supported devices the chromebook is there.当我进入我的 Playstore 帐户并查看支持的设备时,Chromebook 就在那里。 I have deleted the play store storage and cache and restarted the device and still the app isnt there.我已经删除了 Play 商店存储和缓存并重新启动了设备,但该应用程序仍然不存在。 When I link into the app it says that the app is not supported on the device.当我链接到应用程序时,它说设备不支持该应用程序。

Looks like you'll have to add this to your manifest to make sure your android app works on all chromebooks:看起来您必须将此添加到您的清单中,以确保您的 android 应用程序适用于所有 chromebook:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          ... >
    <!-- Some Chromebooks don't support touch. Although not essential,
         it's a good idea to explicitly include this declaration. -->
    <uses-feature android:name="android.hardware.touchscreen"
                  android:required="false" />
</manifest>

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

相关问题 如何将react-native应用程序与android集成 - How to integration react-native app with android 如何使我的react-native android应用程序出现在另一个Android应用程序的共享列表中 - How to make my react-native android app appear in the share list of another android app 如何让 react-native android 应用程序在安装或运行时要求用户授予推送通知? - How to make the react-native android app ask the user for a grant of the push notifications at the install or run time? 如何在Android上制作模糊图像? 反应母语 - how to make blur image on android? React-native 如何使通知灯在android上的react-native中工作? - How to make notification lights work in react-native on android? 如何使警报在 android/emulator 上工作? (反应原生) - How to make Alert work on android/emulator? (react-native) 如何在 react-native android 应用程序中显示 GIF? - How to display GIF in react-native android app? 如何将android react-native应用程序上传到hockeyapp - How to upload android react-native app to hockeyapp 如何在 react-native 上添加 android.support.v7.app - how to add android.support.v7.app on react-native 如何防止Android或React-Native应用程序中的屏幕截图 - How to prevent screenshots in Android or React-Native app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM