0

I used network proxy which needs username/password for authentication in our company. I am working on Xamarin development, and using visual studio 2015 as IDE. When I build Android project, many errors occurred. The main error is "(407) Proxy Authentication Required".

I tried to edit devenv.exe.config, but it is useless.

I tried this suggestions, all are useless.

Package manager in Visual Studio 2015 "407 (Proxy Authentication Required)"

407 Proxy Authentication Required

How can I solve this issue? Any help?


Severity Code Description Project File Line Source Suppression State Error Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Java library file C:\Users\myname\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.3.0.0\content\classes.jar doesn't exist. App1.Droid Build Error Reason: The remote server returned an error: (407) Proxy Authentication Required. App1.Droid Build Error Reason: The remote server returned an error: (407) Proxy Authentication Required. App1.Droid Build Error Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Android resource directory C:\Users\myname\AppData\Local\Xamarin\Xamarin.Android.Support.Vector.Drawable\23.3.0.0\content./ doesn't exist. App1.Droid Build Error Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and put it to the C:\Users\myname\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0 directory. App1.Droid Build Error Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Java library file C:\Users\myname\AppData\Local\Xamarin\Xamarin.Android.Support.Vector.Drawable\23.3.0.0\content\classes.jar doesn't exist. App1.Droid Build Error Reason: The remote server returned an error: (407) Proxy Authentication Required. App1.Droid Build

Error Please install package: 'Xamarin.Android.Support.v7.RecyclerView' available in SDK installer. Java library file C:\Users\myname\AppData\Local\Xamarin\Xamarin.Android.Support.v7.RecyclerView\23.3.0.0\content\classes.jar doesn't exist. App1.Droid Build

Thanks, Airong

4
  • The build process is trying to download/cache packages from google. It needs access to https://dl-ssl.google.com... The error msg contains the link and directory location if you need to manually download them: i.e. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and put it to the C:\Users\myname\AppData\Local\Xamarin\Xamarin.Android.Support.v4\23.3.0.0 directory. Commented Jan 9, 2017 at 3:00
  • Please review this document I wrote on the topic: developer.xamarin.com/guides/android/troubleshooting/… Commented Jan 9, 2017 at 5:05
  • 2
    Thanks, I tried these steps from stackoverflow.com/questions/35418129/…, it works. 1.download dl-ssl.google.com/android/repository/… 2.rename to 2A3A8A6D6826EF6CC653030E7D695C41.zip 3.copy to C:\Users\User\AppData\Local\Xamarin\zips 4.rebuild Commented Jan 9, 2017 at 8:14
  • Thanks @JonDouglas your article has helped me in the past with similar issues. However is there still no way to provide credentials in visual studio for the proxy? Commented Mar 24, 2017 at 13:46

0

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.