Comments (8)
On trying to set the LINT path i.e on executing android-resource-remover --lint /home/...../Android/Sdk/tools/lib/lint.jar
I get the following:
Traceback (most recent call last):
File "/usr/local/bin/android-resource-remover", line 9, in <module>
load_entry_point('android-resource-remover==0.1.5', 'console_scripts', 'android-resource-remover')()
File "/usr/local/lib/python2.7/dist-packages/android_clean_app.py", line 141, 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 77, in run_lint_command
call_result = subprocess.call([lint, app_dir, '--xml', lint_result])
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
from android-resource-remover.
After installing (via sudo pip install android-resource-remover) successfully, cd-ing into the app directory and executing android-resource-remover I receive the following error:
android-resource-remover: command not found
Can u help me in dis..?
from android-resource-remover.
Environment :
Linux Ubuntu 15.10 LTS
Python 2.7.10
Android Studio 1.5.1
Plzz help.. :(
from android-resource-remover.
@rohitraj280 Seems in your case, the installation wasn't successful.
from android-resource-remover.
Also getting the same error as @jig08
Environment :
Mac OS elCapitan 10.11.2
Python 2.7.10
Android Studio 2.0 Preview 4
JRE 1.7
from android-resource-remover.
@ca77y can you help us?
from android-resource-remover.
hi,
those are installation issues with pip or easy_install. as suggested in #33 you can use easy_install. i'll take a look into the whole installation process soon. For now please make sure the command installs correctly
from android-resource-remover.
@ca77y i used easy_install only .. still getting this issue..
The result of running install:
-> easy_install android-resource-remover
Searching for android-resource-remover
Best match: android-resource-remover 0.1.5
Adding android-resource-remover 0.1.5 to easy-install.pth file
Installing android-resource-remover script to /usr/local/bin
Using /usr/local/lib/python2.7/site-packages
Processing dependencies for android-resource-remover
Finished processing dependencies for android-resource-remover
..
after this when i try to run the command "android-resource-remover"
Traceback (most recent call last):
File "/usr/local/bin/android-resource-remover", line 9, in
load_entry_point('android-resource-remover==0.1.5', 'console_scripts', 'android-resource-remover')()
File "/usr/local/lib/python2.7/site-packages/android_clean_app.py", line 141, in main
lint_result_path, app_dir, ignore_layouts = run_lint_command()
File "/usr/local/lib/python2.7/site-packages/android_clean_app.py", line 77, in run_lint_command
call_result = subprocess.call([lint, app_dir, '--xml', lint_result])
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
return Popen(_popenargs, *_kwargs).wait()
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
from android-resource-remover.
Related Issues (20)
- 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
- Does this tool support latest gradle android project structure? HOT 2
- 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.