xamarin / AndroidX

AndroidX bindings for .NET for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

com.android.tools.r8.ResourceException: com.android.tools.r8.internal.vc: I/O exception while reading

Hari-Nikesh-R opened this issue · comments

Android application type

Not applicable

Affected platform version

3.2.1

Description

com.android.tools.r8.ResourceException: com.android.tools.r8.internal.vc: I/O exception while reading '/Users/harinikesh/StudioProjects/instore/app/build/intermediates/merged_java_res/kioskRelease/base.jar': /Users/harinikesh/StudioProjects/instore/app/build/intermediates/merged_java_res/kioskRelease/base.jar

I got this error while generating the release build with

release { shrinkResources true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
I tried making the shrinkResources and minifyEnabled to false, Build got successful.

Relevant log output

com.android.tools.r8.ResourceException: com.android.tools.r8.internal.vc: I/O exception while reading '/Users/harinikesh/StudioProjects/instore/app/build/intermediates/merged_java_res/kioskRelease/base.jar': /Users/harinikesh/StudioProjects/instore/app/build/intermediates/merged_java_res/kioskRelease/base.jar

@Hari-Nikesh-R

Thanks for the feedback, but are you sure this is the right repo?

Output/log has nothing that resembles to dotnet/.NET.Android/Xamarin.Android

It is about gradle plugin.

Oops! sorry @moljac I just uploaded it in wrong repo. Thanks for the reponse.