简体   繁体   English

应用程序没有安装一些设备Android OS N android

[英]Application not installing some device Android os N android

I have samsung device s7 edge. 我有三星设备s7边缘。 Application not installed for live build. 未安装应用程序用于实时构建。 Please help me, what is an exactly problem. 请帮帮我,究竟是什么问题。 See this error throw, on Android N os in device. 在设备上的Android N os上看到此错误。

在此输入图像描述

In your manifest file, add the element and specify the android:xlargeScreens attribute to "true" : 在清单文件中,添加元素并将android:xlargeScreens属性指定为“true”

<supports-screens android:xlargeScreens="true" />

If your app targets API level 24 or higher, you can configure how and whether your app's activities support multi-window display. 如果您的应用面向API级别24或更高级别,则可以配置应用的活动支持多窗口显示的方式和方式。 You can set attributes in your manifest to control both size and layout. 您可以在清单中设置属性以控制大小和布局。 A root activity's attribute settings apply to all activities within its task stack. 根活动的属性设置适用于其任务堆栈中的所有活动。

android:resizeableActivity="true"

Read android:resizeableActivity 阅读android:resizeableActivity

FYI FYI

If you build a multi-orientation app that targets API level 23 or lower, and the user uses the app in multi-window mode, the system forcibly resizes the app. 如果您构建面向API级别23或更低级别的多方位应用程序,并且用户在多窗口模式下使用该应用程序,则系统会强制调整应用程序的大小。 The system presents a dialog box warning the user that the app may behave unexpectedly. 系统会显示一个对话框,警告用户应用程序可能会出现意外行为。 The system does not resize fixed-orientation apps; 系统不会调整固定方向的应用程序; if the user attempts to open a fixed-orientation app under multi-window mode, the app takes over the whole screen. 如果用户尝试在多窗口模式下打开固定方向的应用程序,该应用程序将接管整个屏幕。

<application
....
 android:resizeableActivity="true">

try this it may work for you 试试这个它可能适合你

In your manifest file, add the <supports-screens> element and specify the android:xlargeScreens attribute to "true": 在清单文件中,添加<supports-screens>元素并将android:xlargeScreens attribute to "true":指定android:xlargeScreens attribute to "true":

<supports-screens android:xlargeScreens="true" />

In your manifest's <uses-sdk> element, set android:targetSdkVersion to "11" or higher: 在manifest的<uses-sdk>元素中,将android:targetSdkVersion设置为"11"或更高:

<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="11" />

for more assistance please look into this page HERE 如需更多帮助,请在此处查看此页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM