KeepSafe / android-resource-remover

A simple utility to remove unused resources in your Android app to lower the size of the APK. It's based on the Android lint tool output.
Apache License 2.0
1.28k stars 162 forks source link

build gradle task #3

Open philippb opened 10 years ago

philippb commented 10 years ago

Build a gradle task that makes is easy to integrate this into a build system.

arkangelx commented 9 years ago

I ran the command and got this

androidmalin commented 9 years ago

ran the command and got this

What went wrong: Task 'lint' not found in root project 'testproject'. Some candidates are: 'init'.

alexdar94 commented 8 years ago

Try: gradlew clean build lint && android-resource-remover --xml, remove the : from :lint, my lint built successfully but then 'android-resource-remover' is not recognized as an internal or external command, operable program or batch file.

MIkeeJY commented 8 years ago

@alexdar94 +1

rantianhua commented 7 years ago

@philippb +1

SnakeEys commented 7 years ago

@arkangelx +1

SnakeEys commented 7 years ago

It seems that remove the semicolon(:lint) before lint, and the gradle task works.