2016-11-28 117 views
0

我最近在Play商店发布了一个应用程序。但是,我的应用与许多移动设备不兼容。一些设备是Moto X Play,Moto E3 Power等。[Android]许多设备与应用程序不兼容

我不明白哪一个<uses-feature/>引起了这个问题。这里是我在我的应用程序请求的所有功能:

<!-- Make accelerometer and gyroscope hard requirements for good head tracking. --> 
<uses-feature 
    android:name="android.hardware.sensor.accelerometer" 
    android:required="true" /> 
<uses-feature 
    android:name="android.hardware.sensor.gyroscope" 
    android:required="true" /> 

<!-- Indicates use of Android's VR-mode, available only on Android N+. --> 
<uses-feature 
    android:name="android.software.vr.mode" 
    android:required="false" /> 
<!-- Indicates use of VR features that are available only on Daydream-ready devices. --> 
<uses-feature 
    android:name="android.hardware.vr.high_performance" 
    android:required="false" /> 
<uses-feature 
    android:glEsVersion="0x00020000" 
    android:required="true" /> 

我的应用程序是一个VR视频播放器。另外,我想我的应用程序仅在手机屏幕上有大小为4英寸之间合作,以6英寸,我已经给<compatible-screens/>如下:

<compatible-screens 
    android:anyDensity="true" 
    android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="false" 
    android:xlargeScreens="false" /> 

但是,我不明白是什么原因造成我的应用程序不兼容有很多的Android设备?

提前致谢!

+0

我认为VR模式不适用于上述设备 –

+0

或者您可以在Google Play控制台检查支持哪些设备 –

+0

@AmanVerma,VR模式在我的应用中不是必需的功能。 –

回答

1

Moto X Play和Moto E3 Power没有陀螺仪。

0

尝试此操作:将陀螺仪和加速度计更改为所需的假,然后在您的代码中使用try catch表单来控制应用程序的行为。然后在一些设备上测试。可以证明的问题是所需的功能以及与这些功能的兼容性。请注意这件事

相关问题