6

I'm using xamarin for android, and I wanted to build my app with proguard.

So I use one https://libraries.io/nuget/name.atsushieno.proguard.facebook

after I installed it and build my app, I always have this error:

Error Unable to access jarfile C:\Users\samih pc\Documents\Visual Studio 
2015\Projects\App Name
\packages\name.atsushieno.proguard.facebook.5.3.2.2\build\..lib\proguard.jar    
App Name    C:\Users\samih pc\Documents\Visual Studio 
2015\Projects\App Name\App Name\PROGUARD        

I search online and I use the mklink /j , but I still got this error no matter what.

How can i fix that?

Do i need to change the proguard path to with the path of the mklink?

7
  • Hello Sam, any solution yet? I'm having the same issue Commented Oct 7, 2017 at 18:29
  • Sorry, but no, i didn't found a solution on how to use that proguard fork. Commented Oct 9, 2017 at 17:40
  • @French_FitGirl did you find any solution now?
    – david
    Commented Dec 28, 2017 at 3:12
  • sorry, i didn't found a solution. Commented Dec 28, 2017 at 19:05
  • The error seems to be in the path. I suspect it should be \packages\name.atsushieno.proguard.facebook.5.3.2.2\build\..\lib\proguard.jar OR \packages\name.atsushieno.proguard.facebook.5.3.2.2\lib\proguard.jar . However, I don't know how to fix that. Commented May 18, 2018 at 1:10

1 Answer 1

0

I had exactly the same issue and I found a fix to my problem. I had to update all my Xamarin.Android.Support.* nuget packages to the latest version. I have also updated the latest build tools.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.