Skip to content

Wiki update #84

Closed
Closed
@vanesca88

Description

@vanesca88

Wonderful library!

Just wanted to point out that I tried following the Asset Usage wiki page:
https://github.com/StringCare/AndroidLibrary/wiki/Assets-Usage

And for me, retrieving the JSON objects (encrypted) from assets didn't work.
My app kept crashing.

Later I found that I adding:

aaptOptions {
noCompress "json"
}

only worked, if I deleted the app from my device first.
Like a reset. Otherwise the noCompress isn't applied by Android Studio.

Could you perhaps add a line at the top of the page, telling fellow developers that they might have to delete their app first.
Something like:

"Before start, you'll need to configure the extensions not to be compressed.
And also don't forget to delete the app from your device first, otherwise aaptOptions won't work:"
Trying to help future devs :)

Once again, thank you.

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