一、strings.xml文件

Android项目实战(六十三):as3.6+的一些警告解决方法

 

 解决办法:

1、头部resources修改为

<resources xmlns:tools ="http://schemas.android.com/tools" tools:ignore="MissingTranslation">

2、setting中找到该设置取消勾选(推荐)

Android项目实战(六十三):as3.6+的一些警告解决方法

 

 

二、AndroidManifest.xml文件针对activity方向的警告

Android项目实战(六十三):as3.6+的一些警告解决方法

 

 如果我就想指定竖屏显示,不使用推荐的设置,则解决办法为:

1、在application标签里,加入属性tools:ignore="LockedOrientationActivity";

其中tool引入的是

xmlns:tools="http://schemas.android.com/tools"

2、同样settings中进行设置,取消勾选(推荐)

Android项目实战(六十三):as3.6+的一些警告解决方法

 

相关文章:

  • 2021-12-18
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2022-12-23
  • 2021-12-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-12-16
  • 2021-06-14
相关资源
相似解决方案