Comments (4)
Do you have a small sample of the AndroidManifest file decoded, then built/decoded again? To see the icon section.
from apktool.
Honestly don't know if this will help, but:
base.apk: AndroidManifest.xml:
<application android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:extractNativeLibs="true" android:icon="@mipmap/launcher_icon" android:isSplitRequired="true" android:label="@string/app_name" android:name="<removed name>" android:requestLegacyExternalStorage="true" android:usesCleartextTraffic="false">
** pre/post rebuild shows the same output.
base.apk: The launcher_icon.xml in res/mipmap-anydpi-v26
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@null" />
<foreground android:drawable="@null" />
</adaptive-icon>
The foreground and background images for the launcher icon is in split_config.xxhdpi.apk, but looking through them I wasn't able find any file similar to the "launcher_icon.xml" file in base.apk.
Also, I tried switching out the "@null" to the appropriate paths for the fore/background images, but that also didn't work.
Finally, I forgot to mention but the app is built with Flutter
from apktool.
Thanks - So I'm guessing the adaptive icons are in the split application? Since I don't see how Apktool would null out the drawable refs unless the resource is not valid in that specific application.
from apktool.
Yup. The adaptive icons are in the split apk (split_config.xxhdpi.apk). Im starting to think that it is because the application is built with Flutter
from apktool.
Related Issues (20)
- [BUG] webp appears as png - this breaks building the apk HOT 5
- [BUG] After decompiling, the new instruction "invoke-polymorphic" appears, causing the packing to fail. HOT 1
- [BUG] HOT 8
- [BUG] Multiple times decompiling a particular apk, generates different output. HOT 3
- [BUG]δΈζε符 HOT 2
- [DISCUSSION] mcc and mnc qualifiers HOT 3
- [BUG] Windows - apktool build fails due to UTF8 filename HOT 2
- [BUG]brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1) HOT 2
- Android 15 Framework Support HOT 1
- [BUG] Attribute "android:" was already specified for element "manifest" HOT 4
- [BUG] HOT 2
- [BUG] error: 'shortService' is incompatible with attribute foregroundServiceType HOT 11
- ApkTool
- [BUG] error: 'shortService' is incompatible with attribute foregroundServiceType HOT 6
- [BUG] Errors in compiling back HOT 1
- [BUG] About integer >Integer.MIN_VALUE at AndroidManifest.xml HOT 2
- [BUG] Exception while decompiling weird twrp apk?? HOT 4
- [BUG] CountingInputStream is deprecated.
- [BUG] Fail to Compile [brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1)] HOT 2
- [BUG] Error: Unable to rebuild apk with apktool HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apktool.