android-resource-remover alternatives and similar packages
Based on the "Tools" category.
Alternatively, view android-resource-remover alternatives based on common mentions on social networks and blogs.
-
vectalign
Tool for create complex morphing animations using VectorDrawables (allows morphing between any pair of SVG images) -
maven-android-sdk-deployer
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools. -
Uber Apk Signer
A cli tool that helps signing and zip aligning single or multiple Android application packages (APKs) with either debug or provided release certificates. It supports v1, v2 and v3 Android signing scheme has an embedded debug keystore and auto verifies after signing. -
AndroidLocalizationer
DISCONTINUED. This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically. -
Debug Bottle
🍼Debug Bottle is an Android runtime debug / develop tools written using kotlin language. -
density-converter
A multi platform image density converting tool converting single or batches of images to Android, iOS, Windows or CSS specific formats and density versions given the source scale factor or width/height in dp. It has a graphical and command line interface and supports many image types (svg, psd, 9-patch, etc.) aswell as some lossless compressors like pngcrush. -
USB-Device-Info
This application will provide information about almost all currently plugged-in USB devices. -
TaggerString
TaggerString is very light library which allows to build dynamic string resource in much more readable way. -
release-android-library
Remote script to create a maven compatible release of an android library (aar) -
Uber Adb Tools for Android
A tool that enables advanced features through adb installing and uninstalling apps like wildcards and multi device support. Useful if you want to clean your test device from all company apks or install a lot of apks in one go. Written in Java so it should run on your platform. -
Android-Intent-Library
A library which will save you a lot of time from writing the same intent creation code. it consist of many intent creation codes like Share, Contacts, Email and etc, which you can easily use.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of android-resource-remover or a related project?
README
android-resource-remover
android-resource-remover is utility that removes unused resources reported by Android Lint from your project. The goal is to reduce your APK size and keep the app clean from unused stuff.
Getting started
Requirements:
- Python >= 2.7.*
- ADT >= 16
To install run:
pip install android-resource-remover
Usage - general
Open the directory where your app is located and run
android-resource-remover
Android resources have dependencies to each other. This means that after running resource-remover the first time, it will clean up unused resources file that hold a reference to other resources. You can run this resource remover multiple times until there is no more unused resources to be removed. We've been running it up to 4 times in a row.
Use with gradle
android-resource-remover
is build on top of android lint. If you have a gradle project you have to run lint within your gradle build scripts and then use the lint-result.xml
as the input file for android-resource-remover
e.g.
./gradlew clean build :lint && android-resource-remover --xml build/outputs/lint-results.xml
Options
--help
Prints help message.
--lint
Full path to the lint tool like: d:\Dev\Android SDK\tools\lint
This will be executed as the lint command. If not provided it assumes the lint command in available and runs: lint
--app
Full path to the android app like: d:\Dev\My_Android_App
If not provided it assumes the current directory is the app's root directory.
--xml
Use existing lint result. If provided lint won't be run.
--ignore-layouts
Ignore layout directory
Expected behavior
Resource ID in code not found
If you have references to elements in an old layout that you're not using anymore, you will get a compile error that the ID (R.id.<something>
) can not be found. The reason is that the resource file that contained R.id.<something>
has been removed as it was not used any more. Time to clean up your code.
FAQ
Q: installing dependency lxml failed with clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
A: http://stackoverflow.com/a/22322645
Q: installing dependency lxml failed with fatal error: 'libxml/xmlversion.h' file not found
A: There are several ways to fix this listed on stackoverflow http://stackoverflow.com/questions/19548011/cannot-install-lxml-on-mac-os-x-10-9
Issues and PR
When opening an issue please include as much info as possible. pip.log, python varsion/info, os version/info might all be help us understanding what's the problem.
In PR please keep the formatting.
Licence
Apache version 2.0