Giter VIP home page Giter VIP logo

Comments (10)

rcketscientist avatar rcketscientist commented on June 12, 2024 2

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.

rcketscientist avatar rcketscientist commented on June 12, 2024 1

Ok I'll follow up in a week or if I can get this darn laptop to host an Android device.

from togglebuttons.

rcketscientist avatar rcketscientist commented on June 12, 2024

from togglebuttons.

rcketscientist avatar rcketscientist commented on June 12, 2024

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.

BenjyTec avatar BenjyTec commented on June 12, 2024

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.

BenjyTec avatar BenjyTec commented on June 12, 2024

Any findings/ideas so far?

from togglebuttons.

rcketscientist avatar rcketscientist commented on June 12, 2024

from togglebuttons.

BenjyTec avatar BenjyTec commented on June 12, 2024

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.

rcketscientist avatar rcketscientist commented on June 12, 2024

Thanks I'll take a look today.

from togglebuttons.

rcketscientist avatar rcketscientist commented on June 12, 2024

from togglebuttons.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.