Home > front end >  Android Material Desin
Android Material Desin

Time:12-22

my app crashes due to <com.google.android.material.textfield.TextInputLayout> while working my login page. Is there any way to fix other than updating dependencies or style. Thanks

my app crashes due to <com.google.android.material.textfield.TextInputLayout> while working my login page. Is there any way to fix other than updating dependencies or style. Thanks

CodePudding user response:

It's difficult to say exactly what could be causing the crash without more information about your app and the error message you're seeing.

Please provide a minimal example that triggers the crash and the logs that are being generated.

CodePudding user response:

It's difficult to tell without any stacktrace.

Most probable answer is you are missing material dependency in the build.gradle file.

Also it is recommended to use AndroidX libraries with material ui.

dependencies {
    // ...
    implementation 'com.google.android.material:material:<version>'
    // ...
  }
  • Related