Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Step to reproduce:
1. Open XS
2. Create any android application
3. Run the application on DEBUG mode
4. Application deploys successfully
5. Stop the application
6. Run same application on RELEASE mode
7. Application deploys successfully
8. Stop the running application
9. Again run the same application on DEBUG mode
When user again run the application on DEBUG mode, it gives "Deployment failed. FastDev directory creation failed" error and application does not deploy successfully on emulator/device.
Note: If we un-check 'Fast assembly deployment' from Options-> Android Build, then application deploys successfully.
User should able deploy application successfully with any error.
Mono 3.2.2 ((no/a0fc6ba)
XS 4.1.10 (build 11)
Regression Status: We getting same issue with stable X.Android 4.8.0-13-2 and Stable XamarinStudio-4.0.10-7-1
The cause of the problem twofold:
1. Release builds do not generate the fast deployment directory; only Debug builds create it.
2. When Deploying an app from the IDE, various version checks are performed to see if the .apk actually needs to be reinstalled, so that .apk reinstall can be avoided if at all possible.
The problem here is that after installing the Release build and not changing anything in the project (no source code changes, etc.), the deployment process believes that the .apk doesn't need to be installed, and thus doesn't remove the Release build and replace it with a Debug build.
Without a Debug build, there is no fast deployment directory, causing deployment to fail.
*** Bug 19966 has been marked as a duplicate of this bug. ***
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.