You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just thought of one idea for a first quick check that might be interesting to test if you get a chance. If you replace the Mono.Android.DebugRuntime-*.apk in the Visual Studio Preview installation with the versions from #4996 (comment) similar to how you tested before, does that by chance resolve the problem again?
The default installation location for the Mono.Android.DebugRuntime-*.apk files to replace in the Preview version is:
@brendanzagaeski I did the same test by replacing APKs of Preview version. Same error is thrown while deploying.
What is the PR #4690 about ? @dellis1972 mentioned about it in the last issue. I see it being open.
@pmahend1 I don't think we can work around this. We are using the new api's on API 29+ devices, and if they are still throwing the error then running without the shared runtime will probably be the only option.
PR #4690 is the new Fast deployment system. It does not have a shared runtime and does not use the external storage. So we won't hit these permissions problems. Its still a work in progress though.
Because it turned out that the candidate fix for #4996 did not consistently resolve the issue for the original reporter of that issue (@pmahend1, also the reporter of this issue), the issue has now been reopened. I will accordingly close this item as a duplicate to help consolidate further updates about the problem.
Thanks again for reporting these issues and helping check the candidate fix, @pmahend1!
Activity
[-]error ADB1000: Xamarin.AndroidTools.AndroidDeploymentException: FailedToSynchronizeFastDevAssemblies ---> Mono.AndroidTools.AdbException: secure_mkdirs failed: Permission deniedMono.AndroidTools.AdbException: secure_mkdirs failed: Permission denied [/-][+]error ADB1000: Xamarin.AndroidTools.AndroidDeploymentException: FailedToSynchronizeFastDevAssemblies ---> Mono.AndroidTools.AdbException: secure_mkdirs failed: Permission denied[/+]brendanzagaeski commentedon Sep 23, 2020
I just thought of one idea for a first quick check that might be interesting to test if you get a chance. If you replace the Mono.Android.DebugRuntime-*.apk in the Visual Studio Preview installation with the versions from #4996 (comment) similar to how you tested before, does that by chance resolve the problem again?
The default installation location for the Mono.Android.DebugRuntime-*.apk files to replace in the Preview version is:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\Android
Thanks again!
pmahend1 commentedon Sep 23, 2020
@brendanzagaeski Oh,Yeah. I was thinking the same, then thought they must be same. Will check and update here.
pmahend1 commentedon Sep 24, 2020
@brendanzagaeski I did the same test by replacing APKs of Preview version. Same error is thrown while deploying.
What is the PR #4690 about ? @dellis1972 mentioned about it in the last issue. I see it being open.
dellis1972 commentedon Sep 24, 2020
@pmahend1 I don't think we can work around this. We are using the new api's on API 29+ devices, and if they are still throwing the error then running without the shared runtime will probably be the only option.
PR #4690 is the new Fast deployment system. It does not have a shared runtime and does not use the external storage. So we won't hit these permissions problems. Its still a work in progress though.
brendanzagaeski commentedon Sep 25, 2020
Because it turned out that the candidate fix for #4996 did not consistently resolve the issue for the original reporter of that issue (@pmahend1, also the reporter of this issue), the issue has now been reopened. I will accordingly close this item as a duplicate to help consolidate further updates about the problem.
Thanks again for reporting these issues and helping check the candidate fix, @pmahend1!
brendanzagaeski commentedon Sep 25, 2020
Duplicate of #4996
[Xamarin.Android.Build.Tasks] Fast Deployment v2.0
[Xamarin.Android.Build.Tasks] Fast Deployment v2.0
[Xamarin.Android.Build.Tasks] Fast Deployment v2.0
[Xamarin.Android.Build.Tasks] Fast Deployment v2.0
[Xamarin.Android.Build.Tasks] Fast Deployment v2.0
[Xamarin.Android.Build.Tasks] Fast Deployment v2.0
[Xamarin.Android.Build.Tasks] Fast Deployment v2.0 (#4690)