Skip to content

allow use of android string resource id in application label #145

Closed
@xzenodart

Description

@xzenodart

Cargo.toml:

[package.metadata.android]
resources = "res"

[package.metadata.android.application]
label = "@string/app_name"

res/values/strings.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">Localized App Label</string>
</resources>

cargo apk build failed with message:

ERROR: unable to open '/home/user/apkproject/target/debug/apk/@string/app_name-unaligned.apk' as Zip file for writing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions