Comments (2)
Use below snippet to workaround until this is fixed:
android-resource-remover --app app/src/main --xml "`pwd`/app/build/reports/lint-results-yourBuildVariant.xml"
from android-resource-remover.
- I am on Android Studio 3.2.1
- lint is in SDK Folder
- I ran Lint & exported the XML to home directory.
- I had lots of XML files (like AndroidLint*.xml, Unnecessary*.xml......)
- I only have the Debug APK ...
- I tried running android-resource-remover as below
android-resource-remover --lint ~/Android/Sdk/tools/lib/lint-26.0.0-dev.jar
Traceback (most recent call last): File "/usr/local/bin/android-resource-remover", line 11, in <module> load_entry_point('android-resource-remover==0.1.7', 'console_scripts', 'android-resource-remover')() File "/usr/local/lib/python2.7/dist-packages/android_clean_app.py", line 196, in main lint_result_path, app_dir, ignore_layouts = run_lint_command() File "/usr/local/lib/python2.7/dist-packages/android_clean_app.py", line 96, in run_lint_command call_result = subprocess.call([lint, app_dir, '--xml', lint_result]) File "/usr/lib/python2.7/subprocess.py", line 523, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 13] Permission denied
with or without sudo, I get the same error
Can I get help..
from android-resource-remover.
Related Issues (20)
- Execution Error; Seeking Help HOT 8
- pip install error HOT 2
- pip install error on Windows: UnicodeDecodeError: HOT 2
- IOError: Error reading file 'build/outputs/lint-results.xml' HOT 7
- Didn't work
- OSError: [Errno 2] No such file or directory HOT 3
- UnicodeDecodeError HOT 1
- Need clarification HOT 4
- Incorrectly removes string referenced in AndroidManifest.xml HOT 1
- pin install error HOT 1
- how to exclude files with extension? HOT 3
- install failed HOT 1
- oh,no HOT 1
- Exception: `lint` executable could not be found HOT 2
- 3rd part res
- Error: search AndroidManifest.xml in gradle project HOT 2
- Add a feature that remove all unused classes,methods from Android Studio project HOT 1
- how to uninstall it in my project dirctory
- integrate python code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-resource-remover.