android - The "CheckDuplicateJavaLibraries" task failed unexpectedly -
i'm trying build app, following error pops up. couple of days ago, had no problems building it.
error "checkduplicatejavalibraries" task failed unexpectedly. system.io.filenotfoundexception: not find file 'obj\debug\__library_projects__\vectorcompat\library_project_imports\bin\classes.jar'. file name: 'obj\debug\__library_projects__\vectorcompat\library_project_imports\bin\classes.jar' @ system.io.__error.winioerror(int32 errorcode, string maybefullpath) @ system.io.fileinfo.get_length() @ xamarin.android.tasks.monoandroidhelper.sizeandcontentfilecomparer.gethashcode(fileinfo obj) @ system.linq.set`1.internalgethashcode(telement value) @ system.linq.set`1.find(telement value, boolean add) @ system.linq.enumerable.<distinctiterator>d__63`1.movenext() @ system.linq.enumerable.whereselectenumerableiterator`2.movenext() @ system.linq.buffer`1..ctor(ienumerable`1 source) @ system.linq.enumerable.toarray[tsource](ienumerable`1 source) @ xamarin.android.tasks.monoandroidhelper.distinctfilesbycontent(ienumerable`1 filepaths) @ xamarin.android.tasks.checkduplicatejavalibraries.execute() @ microsoft.build.backend.taskexecutionhost.microsoft.build.backend.itaskexecutionhost.execute() @ microsoft.build.backend.taskbuilder.<executeinstantiatedtask>d__26.movenext() totemandroid
should delete vectorcompat component , add again? why giving error when built fine couple of days ago?
thanks in advance.
it appears artefacts aren't being copied obj
folder, namely vectorcompat
's classes.jar
. suggest deleting obj
folder manually , rebuilding solution.
Comments
Post a Comment