question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lib apparently not compiling properly on AndroidStudio 3.0 Canary 7

See original GitHub issue

Hi 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:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
danielsanfrcommented, Nov 5, 2017

Sorry for the delay guys 😔. Version 1.0.0 has now been released.

2reactions
danielsanfrcommented, Sep 28, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found