diff --git a/MainActivity.cs b/MainActivity.cs index 61b3df1..eb69eb7 100644 --- a/MainActivity.cs +++ b/MainActivity.cs @@ -40,7 +40,7 @@ public class MainActivity : AppCompatActivity, NavigationView.IOnNavigationItemS bool isLocationServiceStarted = false; #if DEBUG - public static string rootPath = Android.App.Application.Context.GetExternalFilesDir(null).AbsolutePath; + public static string rootPath = Android.OS.Environment.GetExternalStoragePublicDirectory(Android.OS.Environment.DirectoryDownloads).AbsolutePath; #else public static string rootPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); #endif