猪皮恶霸
猪皮恶霸
  • 发布:2025-06-04 17:18
  • 更新:2025-06-04 17:18
  • 阅读:28

【报Bug】AndroidManifest.xml配置文件不生效

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows 11 企业版 22H2

HBuilderX类型: 正式

HBuilderX版本号: 4.66

手机系统: Android

手机系统版本号: Android 15

手机厂商: 模拟器

手机机型: 模拟器

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="安卓包名">
<!--permissions-->

<application android:usesCleartextTraffic="false">  
    <!--meta-data-->  
</application>  

</manifest>

预期结果:

<application android:usesCleartextTraffic="false">

</application>

实际结果:

<application android:usesCleartextTraffic="true">

</application>

bug描述:

在项目根目录下创建AndroidManifest.xml配置文件,在文件中配置了android:usesCleartextTraffic="false",打包之后对apk进行反编译,反编译后的AndroidManifest.xml文件内,android:usesCleartextTraffic 配置还是为true

2025-06-04 17:18 负责人:无 分享
已邀请:

要回复问题请先登录注册