Git Product home page Git Product logo

Comments (8)

jigyasa-grover avatar jigyasa-grover commented on August 21, 2024

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.

 avatar commented on August 21, 2024

Hey @jig08 & @philippb ,

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.

 avatar commented on August 21, 2024

Environment :

Linux Ubuntu 15.10 LTS
Python 2.7.10
Android Studio 1.5.1

Plzz help.. :(

from android-resource-remover.

jigyasa-grover avatar jigyasa-grover commented on August 21, 2024

@rohitraj280 Seems in your case, the installation wasn't successful.

from android-resource-remover.

manyata avatar manyata commented on August 21, 2024

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.

manyata avatar manyata commented on August 21, 2024

@ca77y can you help us?

from android-resource-remover.

ca77y avatar ca77y commented on August 21, 2024

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.

manyata avatar manyata commented on August 21, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.