Android Motionlayout: Android Resource Linking Failed


Answer :

This problem is related to Android Studio 3.6 and ConstraintLayout versions earlier than 2.0.0-beta3 - I've reported the issue here. This is fixed in ConstraintLayout 2.0.0-beta3.

Android Studio 3.5 doesn't produce this error.

To make it work in AS 3.6 beta, upgrade to ConstraintLayout 2.0.0-beta3 or later.


If even upgrading ConstraintLayout doesn't help, try to add format attribute to your attr declaration in your attrs.xml file.

<resources>     <attr name="yourAttrName" format="string" /> </resources> 

Choose proper format for your attribute.


upgrading to constraintlayout:2.0.0-beta4, worked for me , or later version. This happens after you upgrade android studio to 3.6


Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer