小米啊
小米啊
  • 发布:2023-03-25 07:22
  • 更新:2023-05-16 21:36
  • 阅读:647

【报Bug】Illegal reflective access by com.qihoo.wd.micropatch.PluginManager

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win11

HBuilderX类型: 正式

HBuilderX版本号: 3.7.9

手机系统: Android

手机系统版本号: Android 12

手机厂商: 小米

手机机型: mxi4

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

[Error] WARNING: An illegal reflective access operation has occurred
[Error] WARNING: Illegal reflective access by com.qihoo.wd.micropatch.PluginManager (file:C:/Program Files (x86)/360/360Safe/safemon/zerojp/JavaMPEngCore.jar) to field sun.instrument.InstrumentationImpl.mNativeAgent
[Error] WARNING: Please consider reporting this to the maintainers of com.qihoo.wd.micropatch.PluginManager
[Error] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[Error] WARNING: All illegal access operations will be denied in a future release
[Info] I: Using Apktool 2.6.1 on UNIA340538_cm.apk
[Info] I: Loading resource table...
[Info] I: Decoding AndroidManifest.xml with resources...
[Info] I: Loading resource table from file: C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk
[Info] I: Regular manifest package...
[Info] I: Decoding file-resources...
[Info] I: Decoding values / XMLs...
[Info] I: Copying raw classes.dex file...
[Info] I: Copying raw classes2.dex file...
[Info] I: Copying raw assets/39285EFA.dex file...
[Info] I: Copying assets and libs...
[Info] I: Copying unknown files...
[Info] I: Copying original files...
[Info] I: Copying META-INF/services directory
[Error] Apk tool decompile package failed
[Error] 制作结果:Failed. Reason:

操作步骤:

[Error] WARNING: An illegal reflective access operation has occurred
[Error] WARNING: Illegal reflective access by com.qihoo.wd.micropatch.PluginManager (file:C:/Program Files (x86)/360/360Safe/safemon/zerojp/JavaMPEngCore.jar) to field sun.instrument.InstrumentationImpl.mNativeAgent
[Error] WARNING: Please consider reporting this to the maintainers of com.qihoo.wd.micropatch.PluginManager
[Error] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[Error] WARNING: All illegal access operations will be denied in a future release
[Info] I: Using Apktool 2.6.1 on UNIA340538_cm.apk
[Info] I: Loading resource table...
[Info] I: Decoding AndroidManifest.xml with resources...
[Info] I: Loading resource table from file: C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk
[Info] I: Regular manifest package...
[Info] I: Decoding file-resources...
[Info] I: Decoding values / XMLs...
[Info] I: Copying raw classes.dex file...
[Info] I: Copying raw classes2.dex file...
[Info] I: Copying raw assets/39285EFA.dex file...
[Info] I: Copying assets and libs...
[Info] I: Copying unknown files...
[Info] I: Copying original files...
[Info] I: Copying META-INF/services directory
[Error] Apk tool decompile package failed
[Error] 制作结果:Failed. Reason:

预期结果:

打包错误,是不是360给拦截了

实际结果:

[Error] WARNING: An illegal reflective access operation has occurred
[Error] WARNING: Illegal reflective access by com.qihoo.wd.micropatch.PluginManager (file:C:/Program Files (x86)/360/360Safe/safemon/zerojp/JavaMPEngCore.jar) to field sun.instrument.InstrumentationImpl.mNativeAgent
[Error] WARNING: Please consider reporting this to the maintainers of com.qihoo.wd.micropatch.PluginManager
[Error] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[Error] WARNING: All illegal access operations will be denied in a future release
[Info] I: Using Apktool 2.6.1 on UNIA340538_cm.apk
[Info] I: Loading resource table...
[Info] I: Decoding AndroidManifest.xml with resources...
[Info] I: Loading resource table from file: C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk
[Info] I: Regular manifest package...
[Info] I: Decoding file-resources...
[Info] I: Decoding values / XMLs...
[Info] I: Copying raw classes.dex file...
[Info] I: Copying raw classes2.dex file...
[Info] I: Copying raw assets/39285EFA.dex file...
[Info] I: Copying assets and libs...
[Info] I: Copying unknown files...
[Info] I: Copying original files...
[Info] I: Copying META-INF/services directory
[Error] Apk tool decompile package failed
[Error] 制作结果:Failed. Reason:

bug描述:

[Error] WARNING: An illegal reflective access operation has occurred
[Error] WARNING: Illegal reflective access by com.qihoo.wd.micropatch.PluginManager (file:C:/Program Files (x86)/360/360Safe/safemon/zerojp/JavaMPEngCore.jar) to field sun.instrument.InstrumentationImpl.mNativeAgent
[Error] WARNING: Please consider reporting this to the maintainers of com.qihoo.wd.micropatch.PluginManager
[Error] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[Error] WARNING: All illegal access operations will be denied in a future release
[Info] I: Using Apktool 2.6.1 on UNIA340538_cm.apk
[Info] I: Loading resource table...
[Info] I: Decoding AndroidManifest.xml with resources...
[Info] I: Loading resource table from file: C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk
[Info] I: Regular manifest package...
[Info] I: Decoding file-resources...
[Info] I: Decoding values / XMLs...
[Info] I: Copying raw classes.dex file...
[Info] I: Copying raw classes2.dex file...
[Info] I: Copying raw assets/39285EFA.dex file...
[Info] I: Copying assets and libs...
[Info] I: Copying unknown files...
[Info] I: Copying original files...
[Info] I: Copying META-INF/services directory
[Error] Apk tool decompile package failed
[Error] 制作结果:Failed. Reason:

2023-03-25 07:22 负责人:DCloud_HB_WDL 分享
已邀请:
Mike_Zheng

Mike_Zheng - 前端/全栈开发

同样遇到该问题, 安心打包, 最后一步本地生成安装包失败。
应该是360安全卫士(拦截)的锅, 退出360安全卫士再执行安心打包就能成功。

  • 4***@qq.com

    我也是 退了360就能行了

    2023-06-27 17:13

要回复问题请先登录注册