Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Icon details returning null #8

Closed
gauravranjan11 opened this issue Aug 1, 2014 · 2 comments
Closed

Icon details returning null #8

gauravranjan11 opened this issue Aug 1, 2014 · 2 comments

Comments

@gauravranjan11
Copy link

ApkParser apkParser = new ApkParser(apkFile);
apkParser.getIcon().getData()---returning null for any apk

@hsiafan
Copy link
Owner

hsiafan commented Aug 2, 2014

Seems that if locale was not specified, a NullPointerException will be throwed. I'll fix it later.
you can try this:
ApkParser apkParser = new ApkParser(apkFile);
apkParser.setPreferredLocale(Locale.ENGLISH);
apkParser.getIcon().getData()

@hsiafan
Copy link
Owner

hsiafan commented Aug 4, 2014

fix in 1.4.3

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants