Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Invalid handle to file/path at runtime

$
0
0

Hello:

I have an Android App that uses "Directory.CreateDirectory", "File.WriteAllText" and "FileStream" (test in several ways), and I hava random "Invalid handle to file" or "Invalid handle to path" exceptions.

I use different threads to work. Can be related to the UI Thread? File Access must be on UI Thread to work?

It's not a security or AndroidManifest error, it Works sometimes!

Thanks for your time!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>