I have an android app which works fine on my Nexus . But if I upload the same app on my Samsung Galaxy Tab A, it does not do anything. I read somewhere about <uses-feature>
and <supports-screens>
. I worked around this, but my app still does not work on the tablet. My app uses the Back Camera and Internet. This is my AndroidManifest.xml
file. Can anyone tell me what else do I need to do, to make my app compatible to the tablet.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.myapps">
<meta-data
android:name="com.google.android.gms.vision.DEPENDENCIES"
android:value="barcode"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
<supports-screens
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"
/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name=".WebActivity"
android:label="Web Page">
</activity>
</application>
The logcat is
E/BarcodeNativeHandle: Error creating remote native handle
com.google.android.gms.internal.zzsu$zza: No acceptable module found. Local version is 0 and remote version is 0.
at com.google.android.gms.internal.zzsu.zza(Unknown Source)
at com.google.android.gms.vision.internal.client.zza.zzclt(Unknown Source)
at com.google.android.gms.vision.internal.client.zza.isOperational(Unknown Source)
at com.google.android.gms.vision.barcode.internal.client.zzb.zza(Unknown Source)
at com.google.android.gms.vision.barcode.BarcodeDetector.detect(Unknown Source)
at com.google.android.gms.vision.Detector.receiveFrame(Unknown Source)
at com.google.android.gms.vision.CameraSource$zzb.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)