Closed lcm92 closed 4 years ago
sorry i've no idea. maybe it's an AS bug, maybe you are doing something wrong. no way to know.
why are you depending on that stuff in the patch? is it not part of the APK? by default the APK names are imported already.
Have you tried yet? I have tried with a few apps using ConstraintLayout or some other libraries belonging to androidx and their own properties didn't work in Android Preview.
This is my demo source code dependency
and demo patch code dependency
When I try to preview layout in design mode, the view does not render in all layouts that use: androidx.constraintlayout.widget.ConstraintLayout give the following error
the following classes could not be instantiated
I did clean and rebuild project, invalidates caches / restart, close and reopen Android Studio, but did not solve the problem.