Skip to content

apply theme and then when i build that occurred an error #159

Open
@dydgns2017

Description

@dydgns2017

Hi.

error is occurred same as the title

how to fix it?

my paackage.json files like that

package.json

...
  "theme": {
    "fullScreen": false,
    "colorAccent": "#FF0000",
    "colorPrimary": "#00FF00",
    "colorPrimaryDark": "#FFFFFF"
  }
...

and then occurred error message here when i use build command

non zero exit code: failed to build apk
W: Failed to generate resource table for split ''
W: C:\Users\computer\.androidjs\cache\androidjs-sdk\res\values\styles.xml:14: error: Error: Color types not allowed (at 'android:layout' with value '#FF0000').
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\computer\AppData\Local\Temp\brut_util_Jar_1267892682823037880.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 30, --version-code, 1000032, --version-name, 1.0.0, --no-version-vectors, -F, C:\Users\computer\AppData\Local\Temp\APKTOOL2456982180335346137.tmp, -e, C:\Users\computer\AppData\Local\Temp\APKTOOL1600468652378566936.tmp, -0, arsc, -I, C:\Users\computer\.androidjs\cache\1.apk, -S, C:\Users\computer\.androidjs\cache\androidjs-sdk\res, -M, C:\Users\computer\.androidjs\cache\androidjs-sdk\AndroidManifest.xml]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions