Comments (4)
Can you please specify the bug more.
What build tool version are you using, gradle version.
Also if you're not using the latest build tool/platform tool version, can you please verify if that is still a problem on the latest versions.
Thank you
from android-resource-remover.
I am using lint 24.0.1, it is probably not the latest but still a recent version.
The problem is in the xml, the message format has changed, some quote were added :
message="The resource `R.string.loading_more` appears to be unused"
Looks like the python script accept only without quotes :
message="The resource R.string.loading_more appears to be unused"
This fixed my problem :
- L25 : pattern = re.compile('The resource (.+) appears to be unused')
+ L25 : pattern = re.compile('The resource `(.+)` appears to be unused')
But I am not sure since when the format has changed.
Thanks
from android-resource-remover.
We should probably support both. I have a look into it
from android-resource-remover.
fixed
from android-resource-remover.
Related Issues (20)
- Execution Error; Seeking Help HOT 8
- pip install error HOT 2
- pip install error on Windows: UnicodeDecodeError: HOT 2
- IOError: Error reading file 'build/outputs/lint-results.xml' HOT 7
- Didn't work
- OSError: [Errno 2] No such file or directory HOT 3
- UnicodeDecodeError HOT 1
- Need clarification HOT 4
- Incorrectly removes string referenced in AndroidManifest.xml HOT 1
- pin install error HOT 1
- how to exclude files with extension? HOT 3
- install failed HOT 1
- oh,no HOT 1
- Does this tool support latest gradle android project structure? HOT 2
- Exception: `lint` executable could not be found HOT 2
- 3rd part res
- Error: search AndroidManifest.xml in gradle project HOT 2
- Add a feature that remove all unused classes,methods from Android Studio project HOT 1
- how to uninstall it in my project dirctory
- integrate python code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-resource-remover.