【问题标题】:Android install button on tablets doesn't work平板电脑上的 Android 安装按钮不起作用
【发布时间】:2015-12-24 06:40:01
【问题描述】:

当我尝试在平板电脑上安装我的应用时,我进入了一个屏幕,上面写着“你想安装这个应用吗?”而且我只能按取消按钮,而不是安装按钮(但看起来很正常)。我从未知来源设置激活了安装,并且 android 版本已经足够晚了。我的清单如下所示:

<?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>

我认为supports-screens 标签可以解决问题,但显然不能。 如果需要代码或其他文件,请告诉我。 我可以在 android studio 模拟器中的平板电脑上安装该应用程序。没有错误信息,第一次遇到这种情况。

你有什么建议吗?感谢您的帮助!

【问题讨论】:

  • 你试过从命令行或android studio安装吗?
  • 我把apk寄给我并打开了
  • 尝试关闭应用验证。请参考here 了解步骤。
  • 感谢您的帮助,但 Sander 解决了它

标签: android android-manifest tablet


【解决方案1】:

我认为这与您的应用程序没有任何关系,我尝试安装的任何 apk 都存在此问题。您是否安装了任何影响您的屏幕的应用程序,例如Bluelight Filter?删除那些应该可以解决问题。

【讨论】:

  • 是的,我已经安装了这个应用程序。我马上试试!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-09-08
  • 1970-01-01
  • 1970-01-01
  • 2014-12-18
  • 1970-01-01
相关资源
最近更新 更多