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()