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.

[Bug] Release Build failures starting from material library 1.1.0-alpha07

See original GitHub issue

Description: When using version 1.1.0-alpha07 or more recent version of material design library release builds fail due to proguard warnings. Warning: com.google.android.material.snackbar.BaseTransientBottomBar$6: can't find referenced method 'android.graphics.Insets getMandatorySystemGestureInsets()' in library class android.view.WindowInsets Warning: com.google.android.material.snackbar.BaseTransientBottomBar$6: can't find referenced class android.graphics.Insets Warning: com.google.android.material.snackbar.BaseTransientBottomBar$6: can't find referenced class android.graphics.Insets Warning: com.google.android.material.snackbar.Snackbar: can't find referenced method 'int getRecommendedTimeoutMillis(int,int)' in library class android.view.accessibility.AccessibilityManager

Expected behavior: Builds should be able to pass fine without having to edit proguard rules

Material Library version: 1.1.0-alpha07 and above

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
dsn5ftcommented, Nov 26, 2019

Thanks for the responses. I’m not sure if this will help, but can you try using compileSdkVersion 29?

3reactions
dsn5ftcommented, Dec 16, 2019

The Material Android and AndroidX libraries do require compiling with the latest stable Android SDK version. So each year when the next version of Android becomes released as stable, we update our library’s compileSdkVersion, which means client apps should update theirs as well, in order to use the latest version of the Material Android and AndroidX libraries.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to resolve: com.google.android.material:material:1.0.0 ...
So I'm following the official documentation to add the Material Components library to my project https://github.com ...
Read more >
Trying to upgrade Xamarin Forms and getting issues with ...
Material library. We were on Xamarin Forms 5.0.0.2012 but we saw the font caching bug that was fixed in Searvice Release 8, 5.0.0.2291....
Read more >
Compose Material 3 | Android Developers
material3:material3-window-size-class:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits. Bug Fixes. Fixes to the top app bar when title ...
Read more >
Getting started with Material Components for Android
Open the build.gradle file for your application. ... Visit Google's Maven Repository or MVN Repository to find the latest version of the library....
Read more >
Untitled
Retry when connecting to device fails (bug #528483). ... Update to 1.1.4. ... Link in appropriates libraries when creating shared libs - Update...
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