ClaudiuGeorgiu / Obfuscapk

An automatic obfuscation tool for Android apps that works in a black-box fashion, supports advanced obfuscation features and has a modular architecture easily extensible with new techniques
MIT License
1.09k stars 285 forks source link

apktool errror #155

Closed theplug4000 closed 1 year ago

theplug4000 commented 1 year ago

Hello, I recently ran apktool b to rebuild apk, but it gave me this error:

[Fatal Error] :48:584: Attribute "android:networkSecurityConfig" was already specified for element "application". I: Checking whether resources has changed... I: Building resources... W: :48: error: Error parsing XML: duplicate attribute W: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\PC\AppData\Local\Temp\brut_util_Jar_68820154850366671442811688857310715614.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 32, --version-code, 629, --version-name, 13.3, --no-version-vectors, -F, C:\Users\PC\AppData\Local\Temp\APKTOOL5583683532486575500.tmp, -e, C:\Users\PC\AppData\Local\Temp\APKTOOL2254009933096751434.tmp, -0, arsc, -I, C:\Users\PC\AppData\Local\apktool\framework\1.apk, -S, \res, -M,

How do I resolve this error?

ClaudiuGeorgiu commented 1 year ago

Hi, please use the bug report issue template and include all the needed information.