Lib apparently not compiling properly on AndroidStudio 3.0 Canary 7
See original GitHub issueHi again,
I just migrated to AS 3.0 beta to have more support with Room lib, but now your lib is not working anymore 😕
Maybe it is a AS bug, not yours, but could you check this?
I didn’t changed any validator property, just migrated to the last AS beta version (and obligatorily, gradle version to 4.1 and Android Plugin to 3.0.0-alpha7). It’s printing the following:
****/ data binding error ****msg:Cannot find the setter for attribute 'app:validateEmpty' with parameter type boolean on android.support.design.widget.TextInputEditText.
.
Here is my xml:
<android.support.design.widget.TextInputLayout
android:id="@+id/tiXpto"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<android.support.design.widget.TextInputEditText
android:id="@+id/edXpto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/add_xpto_name"
android:inputType="textPersonName"
android:text="@={xpto.name}"
android:textSize="16sp"
app:validateEmpty="@{true}"
app:validateEmptyAutoDismiss="@{true}"
app:validateEmptyMessage="@{@string/field_is_required}"/>
</android.support.design.widget.TextInputLayout>
Any help will be apreciatted.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Known issues with Android Studio and Android Gradle Plugin
This error occurs on Linux-based platforms when starting the native debugger. It indicates that one of the libraries required by the native debugger...
Read more >flavorDimensions gradle error - Android Studio 3.0 Canary 1
Seems like a bug in the Gradle build process, I'm not quite sure why exactly it's not working. I was stuck on this...
Read more >Android Studio — How to fix it - Medium
Another cause is that your application was not properly uninstalled. Solution: You can go to setting -> Apps & notifications -> select the...
Read more >Android Studio 3.1 creates native libraries twice as big as 3.0 ...
1 and native libs were properly sized, so I compared both builds to find what was different. Turns out the stripDebugSymbol library is...
Read more >Android studio 3.0 butterknife error · Issue #963 - GitHub
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for the delay guys 😔. Version 1.0.0 has now been released.
Please use this solution until a stable version of Android Studio arrives:
implementation "com.github.Ilhasoft:data-binding-validator:master-SNAPSHOT"
As soon as a stable version arrives we will release a new version.