From d8364dee3d2db931d90de9fe8d9f171b1364682d Mon Sep 17 00:00:00 2001 From: aprz512 Date: Fri, 22 Nov 2024 13:07:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(core.gradle-plugin):=20=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=9B=B4=E9=AB=98=E7=89=88=E6=9C=ACcmdline-tools=E4=B8=ADdecod?= =?UTF-8?q?eXml=E6=96=B9=E6=B3=95=E7=AD=BE=E5=90=8D=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #1314 --- .../main/kotlin/com/tencent/shadow/core/gradle/ShadowPlugin.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/sdk/core/gradle-plugin/src/main/kotlin/com/tencent/shadow/core/gradle/ShadowPlugin.kt b/projects/sdk/core/gradle-plugin/src/main/kotlin/com/tencent/shadow/core/gradle/ShadowPlugin.kt index 93df1a3b6..c532bb394 100644 --- a/projects/sdk/core/gradle-plugin/src/main/kotlin/com/tencent/shadow/core/gradle/ShadowPlugin.kt +++ b/projects/sdk/core/gradle-plugin/src/main/kotlin/com/tencent/shadow/core/gradle/ShadowPlugin.kt @@ -247,7 +247,6 @@ class ShadowPlugin : Plugin { tempCL.loadClass("com.android.tools.apk.analyzer.BinaryXmlParser") val decodeXmlMethod = binaryXmlParserClass.getDeclaredMethod( "decodeXml", - String::class.java, ByteArray::class.java ) @@ -258,7 +257,6 @@ class ShadowPlugin : Plugin { val outputXmlBytes = decodeXmlMethod.invoke( null, - "AndroidManifest.xml", binaryXml ) as ByteArray decodeXml.parentFile.mkdirs()