google / play-work

Apache License 2.0
85 stars 42 forks source link

Support new formatting of aapt output #23

Closed ghost closed 7 years ago

ghost commented 7 years ago

Previously, the output of aapt would include the line

application-label: 'FooApp'

The previously version of the externallyhosted.py script selected the application under the assumption that the above line would exist. The latest version of aapt only includes localized versions of application label e.g.:

application-label-af: 'FooApp' application-label-am: 'FooApp' ...

In the case that the original 'application-label:' attribute doesn't exist, the script will now grab the label from the "application:" line which follows the form:

application: label='FooApp' icon='res/mipmap-mdpi-v4/fooapp.png'

Thanks,

Matt