Comments (10)
I debugged this issue for one of your users and it looks like they had a dependency on a version/fork of your library that was built using a very old version of build tools that had a bug which caused the attributes under declare styleables to be compiled as final in the R.java. This in turn resulted in the resource IDs being inlined in the code of the library and since the ordering of resources changed in AAPT2 this results in the reported error. The fact that it worked so far with AAPT1 is only pure luck. For those having this issue updating the version of this library to the newest one ('com.github.castorflex.smoothprogressbar:library:1.1.0') fixes this issue, no need to disable AAPT2.
from smoothprogressbar.
Is there any update on this issue?
from smoothprogressbar.
I think the issue caused aapt2 being enabled by default in AS gradle plugins 3.0.
For temporary fix try to add this into your gradle.properties
android.enableAapt2=false
and please confirm if this also fix your project.
from smoothprogressbar.
this is happening to me too. on the normal library, not the circular though.
from smoothprogressbar.
Yes. The fix worked. But will this affect my other projects?
from smoothprogressbar.
I think no. The issue possibly lies on aapt2. But we will try to test it more later.
Sent from my OnePlus ONEPLUS A3003 using FastHub
from smoothprogressbar.
I guess this issue is related to this one https://stackoverflow.com/questions/44196672/aapt2-compile-failed-invalid-dimen-on-android-3-0-canary-1
Could you try setting LC_NUMERIC? I don't have the error on my end
from smoothprogressbar.
same issue and temp fixed with android.enableAapt2=false
from smoothprogressbar.
@imorlowska implementation 'com.github.castorflex.smoothprogressbar:library-circular:1.0.1'
AFAIK this is the latest version for the round one. Crashes with the error given by the OP on API 24, AS 3.0, Gradle 3.0.0. The only solution that currently works for me is to disable aapt 2
from smoothprogressbar.
Closing because the issue is too old. Please reopen it if you're facing the same issue
from smoothprogressbar.
Related Issues (20)
- Unable to update to CircularProgressBar 1.3.0 HOT 3
- how to set the color of the Circularprogressbar HOT 2
- Not able to build HOT 1
- Can't convert to dimension: type=0x1 HOT 1
- Determinate Mode HOT 1
- Increase the Storke Width HOT 1
- Caused by android.content.res.Resources$NotFoundException
- Error inflating class fr.castorflex.android.circularprogressbar.CircularProgressBar on AS 3.2.1
- Google Play Store link do not work HOT 2
- Df
- Support Android X HOT 1
- Gui
- Is this library deprecated because of not supporting AndroidX or someother reason is there? HOT 1
- JCenter replacement HOT 3
- Started lagging on Samsung phones HOT 1
- Release 1.4
- Determinate style for Horizontal HOT 1
- How to set background to transparent if used as non-intermediate progress bar HOT 1
- is it possible to use Smooth Progressbar in a Notification HOT 1
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 smoothprogressbar.