Giter Site home page Giter Site logo

magicsnail / android_cleaner Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 83 KB

用于Android瘦身相关的脚本。基于lint的清理无效资源的python脚本;基于Inspect Code清理无效Java类的辅助脚本。

Python 100.00%
lint-android-python inspectcode resource-cleaner java-code-clean

android_cleaner's Introduction

lint_resource_cleaner

用于清理工程中无效资源

参考了android-resource-remover编写,但基本算是重构了,本脚本是以大型工程为依据编写,具有更强大的适应能力,android-resource-remover因为keep方式原始,同时remove等存在一些bug,因此本工程脚本做了重构。

  • 增加了强大的keep机制,详见lint-keep.xml文件。
  • 直接Android Studio执行python脚本文件lint-resource-cleaner.py即可。
  • 默认脚本只执行检测并输出结果,-rm参数用来执行remove,结果输出到lint.log文件中。

android_cleaner's People

Contributors

magicsnail avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

mrcao2011

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.