Error build after implementing library version 2.1.0 #170
Comments
Ran into the same error while adding this library to a new project. It's likely that the error is related to the use of Java 8: https://stackoverflow.com/questions/49512629/default-interface-methods-are-only-supported-starting-with-android-n Changing Source and Target Compatibility fixed the issue for me. |
Hi Hdsrob, |
I already have Java 8 Enabled in my projects but still get that same error on build, any solution yet? |
@MathiewNguyen could you please open ask a question on Stackoverflow providing more details, like what's the error you are getting? @kaustav07 did you try the solution proposed by @hdsrob ? |
@kaustav07 it's hard to give a solution with too little information about your project. |
Dear Supporters,
I want to use this library on my project, but after I implementation the library version 2.1.0 as below:
implementation 'io.github.luizgrp.sectionedrecyclerviewadapter:sectionedrecyclerviewadapter:2.1.0'
Then I ran my project and I got an error:
:app:transformClassesWithMultidexlistForDebug FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 4s
This is my build tool of my project:
android { compileSdkVersion 28 buildToolsVersion '28.0.3' defaultConfig { multiDexEnabled true minSdkVersion 19 targetSdkVersion 26 }
SectionedRecyclerViewAdapter library:
Could you please help me to resolve this issue?
Thanks in advance.
The text was updated successfully, but these errors were encountered: