Comments (10)
Turns out it's a known bug in constraintlayout 2.0 alpha 3. It's fixed in alpha 4, you just need to use 2 until 4 is out.
https://issuetracker.google.com/issues/121395935
from togglebuttons.
Ok I'll follow up in a week or if I can get this darn laptop to host an Android device.
from togglebuttons.
from togglebuttons.
I'm on travel and my work laptop is blocking Android devices unfortunately, so I'll throw two blind possibilities.
Are you on 3.0.1?
Are you using app:orientation
?
from togglebuttons.
Yes, I am using 3.0.1 of your library. And yes, inside the <android.support.v7.widget.ToggleGroup /> I got the attribute app:orientation="horizontal"
Thanks for the quick response!
from togglebuttons.
Any findings/ideas so far?
from togglebuttons.
from togglebuttons.
Sorry for the delay. I created a new GitLab repo with a minimal sample app. Still, the compilation fails. I hope this will help you to tear down the issue, If there are any other things you need, let me know.
Link to GitLab: https://gitlab.com/BenjyTec/togglebuttons-sample.git
Once again, here the full error log:
Android resource compilation failed
Output: C:\Users\Benni\AndroidStudioProjects\ToggleSample\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1319: error: duplicate value for resource 'attr/orientation' with config ''.
C:\Users\Benni\AndroidStudioProjects\ToggleSample\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1319: error: resource previously defined here.
Command: C:\Users\Benni\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\bfa50a7d83061a2f592339f21805ab7f\aapt2-3.2.0-4818971-windows\aapt2.exe compile --legacy \
-o \
C:\Users\Benni\AndroidStudioProjects\ToggleSample\app\build\intermediates\res\merged\debug \
C:\Users\Benni\AndroidStudioProjects\ToggleSample\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
Daemon: AAPT2 aapt2-3.2.0-4818971-windows Daemon #0
from togglebuttons.
Thanks I'll take a look today.
from togglebuttons.
from togglebuttons.
Related Issues (9)
- update readme HOT 2
- Compatibility issue HOT 6
- Crashing on 4.x devices using Vector Drawables HOT 10
- how to add vector drawable left or right with text HOT 1
- Not compatible with GridLayout HOT 3
- Crash when inflating ToggleGroup HOT 7
- Compilation fail with latest material components HOT 8
- Better to migrate this library to Kotlin sooner than later :) 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 togglebuttons.