Android.OS.Environment android can not be found ?

SodiKZ125SodiKZ125 Member ✭✭

For some reason on my project var document = Android.OS.Environment.GetExternalStoragePublicDirectory(Android.OS.Environment.DirectoryDownloads);

works perfect for me but on my friend's version it says Android does not exist and asks to add using XamarinFormsPlatformConfig. Does anybody know how to solve this issue



  • LucasZhangLucasZhang Member, Xamarin Team Xamurai

    What the version of xamarin.forms? And you can create a new project and check if the issue will appear.

  • I am getting same issue
    Latest xamarin forms updated.

    What is wrong here?
    How can i fix this please anyone?

Sign In or Register to comment.