I am getting this error after including shimmer layout to my android project.
I tried editing my packagingOptions in my build.gradle (Module: app) but it did not work.
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/rxjava.properties'
}
Here is the xml code in my layout.
<com.facebook.shimmer.ShimmerFrameLayout
android:id="@+id/shimmerUserProfileActivity"
android:layout_width="wrap_content"
app:shimmer_shape="radial"
app:shimmer_duration="800"
app:shimmer_auto_start="true"
app:shimmer_repeat_mode="restart"
android:layout_height="wrap_content">
<include layout="@layout/layout_shimmer_user_profile"/>
</com.facebook.shimmer.ShimmerFrameLayout>
The projects shows this error.