Git Product home page Git Product logo

Comments (4)

iBotPeaches avatar iBotPeaches commented on September 28, 2024

Do you have a small sample of the AndroidManifest file decoded, then built/decoded again? To see the icon section.

from apktool.

kyuds avatar kyuds commented on September 28, 2024

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.

iBotPeaches avatar iBotPeaches commented on September 28, 2024

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.

kyuds avatar kyuds commented on September 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.