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.

com.google.android.material-1.1.0-rc1 error on build

See original GitHub issue

Need to add these lines to com.google.android.material/material/transforms/Metadata.xml for 1.1.0-rc1:

<remove-node path="/api/package[@name='com.google.android.material.button']/interface[@name='MaterialButton.OnPressedChangeListener']" />
<remove-node path="/api/package[@name='com.google.android.material.datepicker']/interface[@name='MaterialCalendar.OnDayClickListener']" />
<remove-node path="/api/package[@name='com.google.android.material.bottomappbar']/interface[@name='BottomAppBar.AnimationListener']" />

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ibryskincommented, Feb 18, 2020

Here’s a sample. Building this project failed with these errors (with 1.1.0-rc1):

JAVAC0000:  error: AnimationListener is not public in BottomAppBar; cannot be accessed from outside package
JAVAC0000:  error: OnPressedChangeListener is not public in MaterialButton; cannot be accessed from outside package
JAVAC0000:  error: OnDayClickListener is not public in MaterialCalendar; cannot be accessed from outside package

Test56.zip

0reactions
moljaccommented, Feb 26, 2020

OK. Closing this one!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to resolve: com.google.android.material:material:1.0 ...
I just clicked on 'Show in Project Structure dialog' which appeared below the error. From there you will get options to update dependencies...
Read more >
Getting started with Material Components for Android
Depend on our library. Material Components for Android is available through Google's Maven Repository. To use it: Open the build.gradle file for your ......
Read more >
Compose Material 3 | Jetpack
Write Jetpack Compose applications with ready to use building blocks and extend foundation to build your own design system pieces. compose.material, Build ......
Read more >
Error inflating class > com.google.android.material ...
So I use SwitchMaterial in one layout: <com.google.android.material.switchmaterial.SwitchMaterial... And Firebase Crashlytics spams me with the following ...
Read more >
Unity 2020.3 LTS Error inflating class com.google.android. ...
When I tested apk (build with version unity 2020.3.42f1 LTS) and I got error: "Error inflating class com.google.android.material.appbar.
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