If your app and your libraries have all been built with a new JDK (7+) and you are still getting this, then you can fix this problem by telling Proguard to keep the enclosing method attribute. Just add the following to your Proguard rules:
-keepattributes EnclosingMethod
More Related Contents:
- What is “android:allowBackup”?
- How can I avoid concurrency problems when using SQLite on Android?
- IllegalStateException: Can not perform this action after onSaveInstanceState with ViewPager
- Programmatically switching off Android phone
- How to control the width and height of the default Alert Dialog in Android?
- SimpleCursorTreeAdapter and CursorLoader for ExpandableListView
- Spinner: get state or get notified when opens
- Android Fragments. Retaining an AsyncTask during screen rotation or configuration change
- Android Studio says “cannot resolve symbol” but project compiles
- How to save HashMap to Shared Preferences?
- Is it possible to create turn-by-turn GPS navigation app on Android/iOS using Google Maps?
- Place 2 textview beside each other with 2nd textview always visible
- Heterogeneous GridLayout
- How to use onSaveInstanceState() and onRestoreInstanceState()?
- Android: Resize only parts of view with soft keyboard on screen
- What does it mean to inflate a view from an xml file?
- Autoincrement VersionCode with gradle extra properties
- Suppress / Block BroadcastReceiver in another app
- Webservice credentials – OpenID/Android AccountManager?
- How to get bitmap from a url in android? [duplicate]
- Format credit card in edit text in android
- Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Borderless.Colored’
- How to handle AsyncTask’s in ActionBarActivity Fragments when ViewPager is used?
- How can I use Firebase Functions to send FCM to user?
- Gradle error upgrading to Android Studio 3.0 Beta 1
- how to measure upload/download speed and latency in android wifi connection
- Is there a method that works like start fragment for result?
- Is there any way to have WebView auto-link URLs and phone numbers in Android?
- Android – GridView : Specify Column Span
- PreferenceFragmentCompat has padding on PreferenceCategory that I can’t get rid of