Search code examples
androidandroid-manifesttablet

Android install button on tablets doesn't work


When I try to install my app on tablets I get to the screen where it says "Do you want to install this app?" and I can only press the cancel button, not the install button (but it looks normal). I activated installation from unknown sources setting and the android version is late enough. My Manifest looks like this:

<?xml version="1.0" encoding="utf-8"?>

<uses-sdk android:minSdkVersion="14"/>

<supports-screens

    android:smallScreens="true"
    android:normalScreens="true"
    android:largeScreens="true"
    android:xlargeScreens="true"

    />

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme"
    >
    <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

I thought the supports-screens tag would solve the problem but obviously it does not. If code or other files are necessary please tell me. I can install the app on a tablet in the android studio emulator. There is no error message and it's the first time I encounter this.

Do you have any suggestions? Thanks for your help!


Solution

  • I don't think it has anything to do with your app, I had this problem with any apk I tried to install. Do you have any apps installed that affect your screen, like Bluelight Filter? Removing those should solve the problem.