ARTICLE AD BOX
I've been trying to modify an APK using the MT Manager app for a while now, but I'm having trouble applying adaptative icons.
I created the folder mipmap-anydpi-v26, and inside it I created a file called ic_launcher.xml, with the following code:
<?xml version="1.0" encoding="utf-8"?> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@mipmap/ic_launcher_background"/> <foreground android:drawable="@mipmap/ic_launcher_foreground"/> </adaptive-i con>Then I added two 108x108 image files to all the mipmap folders. One file is called ic_launcher_background.png, and the other is ic_launcher_foreground.png.Then I added two 108x108 image files to all the mipmap folders. One file is called ic_launcher_background.png, and the other is ic_launcher_foreground.png.
In the AndroidManifest.xml file, I changed the line android:icon to stick with the "argument" of:
"@mipmap/ic_launcher"
The entire AndroidManifest.xml file for my app is as follows (it's just a redirect app):
<?xml version="1.0" encoding="utf-8"?> <!--Open VIP can improve the speed of decompilation, resource code translate to name automatically and activate the smart editing and automatic completion function--> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1" package="de.eye_interactive.atvl.a089e0db11bd9d8aa0f39ad7a4685ee0e" platformBuildVersionCode="24" platformBuildVersionName="7"> <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="34" /> <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> <uses-feature android:name="android.software.leanback" android:required="false" /> <queries> <package android:name="com.google.android.googlequicksearchbox" /> </queries> <application android:label="Google" android:icon="@7F020000" android:allowBackup="true" android:supportsRtl="true" android:isGame="false"> <activity android:name="de.eye_interactive.atvl.a089e0db11bd9d8aa0f39ad7a4685ee0e.MainActivity" android:exported="true" android:excludeFromRecents="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>Every time I click "save changes," the icon addresses change to these letter and number codes.
Despite all this, my app icon is still invalid. What can I do?
