androidjs-builder icon indicating copy to clipboard operation
androidjs-builder copied to clipboard

Static project type result in a package with no icons

Open nmagko opened this issue 4 years ago • 5 comments

Hi,

Due to my apps don't require node backend process. I was testing static mode which creates a lighter APK saving a lot of space. Everything works fine except for icons. Building the APK in static mode result in a package with default android icons overriding the customized icons of the app.

VC

nmagko avatar Apr 14 '21 00:04 nmagko

did you tried updating the icon path in package.json ?

{
  "version": "1.0.0",
  "name": "static-app",
  "app-name": "Awesome App",
  "package-name": "static_app",
  "project-type": "static",


  "icon": "./assets/icon/icon.png",


  "dist-path": "./dist",
  "permission": [
    "android.permission.INTERNET"
  ],
}

DeveshPankaj avatar Apr 14 '21 13:04 DeveshPankaj

For sure. The icon entry has the right path.

If I switch the app to webview project type the package is created with correct icons. If I switch to static project type is created with default android icons.

VC

nmagko avatar Apr 14 '21 16:04 nmagko

okay, then there might be something wrong from our end. @DeveshPankaj can we check this once?

Chhekur avatar Apr 16 '21 10:04 Chhekur

Same problems with Icon.

batazo avatar Jun 26 '22 22:06 batazo

Same problems with Icon.

sabrysuleiman avatar Sep 24 '22 14:09 sabrysuleiman