


pip.log, python varsion/info, os version/info might all be help us understanding what's the problem. When opening an issue please include as much info as possible. Q: installing dependency lxml failed with fatal error: 'libxml/xmlversion.h' file not foundĪ: There are several ways to fix this listed on stackoverflow Issues and PR Q: installing dependency lxml failed with clang: error: unknown argument: '-mno-fused-madd'

has been removed as it was not used any more. The reason is that the resource file that contained R.id. If you have references to elements in an old layout that you're not using anymore, you will get a compile error that the ID ( R.id.) can not be found. Ignore layout directory Expected behavior Resource ID in code not found If not provided it assumes the current directory is the app's root directory. If not provided it assumes the lint command in available and runs: lint -appįull path to the android app like: d:\Dev\My_Android_App This will be executed as the lint command. If you have a gradle project you have to run lint within your gradle build scripts and then use the lint-result.xml as the input file for android-resource-removerĮ.g./gradlew clean build :lint & android-resource-remover -xml build/outputs/lint-results.xmlįull path to the lint tool like: d:\Dev\Android SDK\tools\lint

Use with gradleĪndroid-resource-remover is build on top of android lint. We've been running it up to 4 times in a row. You can run this resource remover multiple times until there is no more unused resources to be removed. This means that after running resource-remover the first time, it will clean up unused resources file that hold a reference to other resources. Open the directory where your app is located and run android-resource-removerĪndroid resources have dependencies to each other. To install run: pip install android-resource-remover The goal is to reduce your APK size and keep the app clean from unused stuff. Android-resource-remover is utility that removes unused resources reported by Android Lint from your project.
