[英]Android App is not compatible with Samsung galaxy S4 mini
I have Samsung galaxy s4 mini and screen size is 540 x 960 pixels, 4.3 inches (~256 ppi pixel density). 我有三星galaxy s4 mini,屏幕尺寸为540 x 960像素,4.3英寸(~256 ppi像素密度)。 My app work perfectly in all devices accept galaxy s4 mini, galaxy s4, galaxy s5.
我的应用程序在所有设备上完美运行接受galaxy s4 mini,galaxy s4,galaxy s5。 I have visited this link an try it but it doesn't affect in device.
我已经访问过此链接尝试它但它不会影响设备。 Link is below Android App is not compatible with Samsung galaxy S4 Any solution exist then please suggest me.
链接是在Android应用程序与三星galaxy S4不兼容任何解决方案存在然后请建议我。
My AndroidManifest.xml file Code: ` 我的AndroidManifest.xml文件代码:`
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-feature
android:name="android.hardware.bluetooth_le"
android:required="true" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="false" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="com.utils.Constant"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:killAfterRestore="false"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="Video"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<activity
android:name="com.facebook.LoginActivity"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="Result"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="Login"
android:configChanges="orientation"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:name="com.beaconrangingservice.BeaconRangingService"
android:enabled="true" />
<activity
android:name="Home"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="Infopage"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="BeaconFoundPage"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<!--
<service android:name=".EstimoteService" />
<service
android:name="com.estimote.sdk.service.BeaconService"
android:exported="false" />
<service
android:name="org.altbeacon.beacon.service.BeaconService"
android:exported="false" />
-->
<service android:name=".BeaconService" >
</service>
<service
android:name="org.altbeacon.beacon.BeaconIntentProcessor"
android:enabled="true" >
</service>
</application>`
540 x 960 devices access drawable-hdpi
values-hdpi
folders. 540 x 960设备访问
drawable-hdpi
values-hdpi
文件夹。
please update your hdpi folder and check. 请更新您的hdpi文件夹并检查。
or u shud create layout res/layout-w540dp-h960dp/layout.xml
for specific size device, 或者你为特定尺寸的设备创建布局
res/layout-w540dp-h960dp/layout.xml
,
And what about sdk version? 那个sdk版本呢? try to add this into your manifest:
尝试将此添加到您的清单中:
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.