Giter Club home page Giter Club logo

Comments (2)

ypresto avatar ypresto commented on May 25, 2024 1

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.

msj2 avatar msj2 commented on May 25, 2024
  • 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)

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.