From 094ffbfa575fcd08724fe17bb4b92cca8d622983 Mon Sep 17 00:00:00 2001 From: AndnixSH <40742924+AndnixSH@users.noreply.github.com> Date: Thu, 2 Mar 2023 18:48:43 +0100 Subject: [PATCH] Update ApkFixer.cs --- APKToolGUI/ApkTool/ApkFixer.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/APKToolGUI/ApkTool/ApkFixer.cs b/APKToolGUI/ApkTool/ApkFixer.cs index 133e9e2..c25aeb2 100644 --- a/APKToolGUI/ApkTool/ApkFixer.cs +++ b/APKToolGUI/ApkTool/ApkFixer.cs @@ -18,14 +18,16 @@ namespace APKToolGUI.ApkTool if (File.Exists(manifestPath)) { string maniFestText = File.ReadAllText(manifestPath); + maniFestText = maniFestText.Replace("\\ ", "\\u003"); maniFestText = maniFestText.Replace("android:isSplitRequired=\"true\"", ""); maniFestText = maniFestText.Replace("android:extractNativeLibs=\"false\"", ""); maniFestText = maniFestText.Replace("android:useEmbeddedDex=\"true\"", ""); maniFestText = maniFestText.Replace("android:manageSpace=\"true\"", ""); - maniFestText = maniFestText.Replace("android:manageSpace=\"true\"", ""); + maniFestText = maniFestText.Replace("android:localeConfig=\"@xml/locales_config\"", ""); maniFestText = maniFestText.Replace("\r\n \r\n \r\n \r\n ", ""); maniFestText = maniFestText.Replace("", ""); maniFestText = maniFestText.Replace("STAMP_TYPE_DISTRIBUTION_APK", "STAMP_TYPE_STANDALONE_APK"); + File.WriteAllText(Path.Combine(path, "AndroidManifest.xml"), maniFestText); return true;