xml file is removed first and IOError happens when tries to remove string resource entry.
removing resource: /path/to/our/app/src/main/res/xml/ecommerce_tracker.xml
removing ('string', 'ga_trackingId') from resource /path/to/our/app/src/main/res/xml/ecommerce_tracker.xml
Traceback (most recent call last):
File "/Users/yuya.tanaka/.anyenv/envs/pyenv/versions/2.7.9/bin/android-resource-remover", line 11, in <module>
sys.exit(main())
File "/Users/yuya.tanaka/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/android_clean_app.py", line 143, in main
remove_unused_resources(issues, app_dir, ignore_layouts)
File "/Users/yuya.tanaka/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/android_clean_app.py", line 137, in remove_unused_resources
remove_resource_value(issue, filepath)
File "/Users/yuya.tanaka/.anyenv/envs/pyenv/versions/2.7.9/lib/python2.7/site-packages/android_clean_app.py", line 120, in remove_resource_value
tree = etree.parse(filepath, parser)
File "lxml.etree.pyx", line 3310, in lxml.etree.parse (src/lxml/lxml.etree.c:72517)
File "parser.pxi", line 1791, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:105979)
File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:106278)
File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:105277)
File "parser.pxi", line 1122, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100227)
File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94350)
File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95786)
File "parser.pxi", line 618, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94818)
IOError: Error reading file '/path/to/our/app/src/main/res/xml/ecommerce_tracker.xml': failed to load external entity "/path/to/our/app/src/main/res/xml/ecommerce_tracker.xml"