android / views-widgets-samples

Multiple samples showing the best practices in views-widgets on Android.
Apache License 2.0
5.05k stars 3.01k forks source link

AAPT: error: resource attr/flow_horizontalSeparator not found #37

Open ehaahe opened 5 years ago

ehaahe commented 5 years ago

When i migrate android.support to androidx,it is not working with this error,how can i resolve it? the version of ConstrainLayout is 2.0.0-beta2

zskamljic commented 5 years ago

Getting the same issue on a project that was on androidx since the beginning

banshee commented 5 years ago

Did you update to gradle 3.6 alpha? Try changing back - do classpath 'com.android.tools.build:gradle:3.5.0-beta05' That fixed it for me.

kaeawc commented 5 years ago

This is the relevant issue in the Google tracker https://issuetracker.google.com/issues/136103084

The recommendation for now is to either:

baiyuas commented 5 years ago

I get the same issue. I hope fixed as soon as possible, I use android studio 3.6 Canary 4 , gradle:3.6.0-alpha04, ConstrainLayout is 2.0.0-beta2

isipisi89 commented 5 years ago

This is the relevant issue in the Google tracker https://issuetracker.google.com/issues/136103084

The recommendation for now is to either:

  • Downgrade Android Studio (3.6 alpha 2 works fine for me, alpha 3 creates this issue with ConstraintLayout 2 or any other library that uses attrs the old way)
  • Add the attrs that are missing to your project. When another version of ConstraintLayout library is released with the attrs included you'll have to remove them from your project.

How do i Downgrade Android Studio? Is there a function in it?

juanes30 commented 5 years ago

The same thing happened to me with android studio 3.6 canary 5 and what I did was to make a clean installation and it worked well

tschellenbach commented 4 years ago

Still encountering this issue

Bill1550 commented 4 years ago

Still encountering this issue with ConstraintLayout 2.0.0-beta1 and build tools 3.6.0-rc02

mrv96 commented 4 years ago

I solved the issue using the automatic migration tool to AndroidX. After the automatic refactor, the project works fine with gradle plugin 3.6.0. No manual code modification was required.

abdullahalshafi commented 4 years ago

Fixed my issue after changing the constraint layout version to 1.1.3

bkanchan82 commented 4 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

arstagaev commented 4 years ago

And dont forget set androidx.constraintlayout.......... (should "android" with "x")

CyrusCeasar commented 4 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

it works

shylendramadda commented 4 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

Thanks, it worked.

elraz commented 4 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

works for me, thank you

ghost commented 4 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

nice

LinXueyuanStdio commented 4 years ago

there are some bugs when I upgraded from 2.0.0-beta1 to 2.0.0-beta4. lots of views in constraint layout disappear .

liosen commented 4 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

worked!

mmimurad commented 3 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

It worked for me. Thanks

FacuSL2 commented 2 years ago

I upgraded my constraint layout dependency to 2.0.0-beta4 and it works fine

work for me. thank you!