Bug 6845 - cannot debug an app on nexus 7
Summary: cannot debug an app on nexus 7
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.1.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-09-02 14:19 UTC by maxim
Modified: 2012-09-05 00:14 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description maxim 2012-09-02 14:19:56 UTC
Hello,

I'm using MonoDevelop 3.0.4.4(on windows 7) and would like to debug my app on nexus 7 (android 4.1.1), but every time I'm getting the following error:  "Deployment failed. An error occurred synchronizing the package assemblies." However, in release mode the app can be launched on the device. How to fix this?
Comment 1 Kev 2012-09-04 16:10:37 UTC
I found the same bug, but was able to successfully deploy by simply renaming the 'Debug' folder in the 'bin' folder after the initial, unsuccessful deployment. Seems that mono is recognizing the .apk files and failing to redeploy?
Comment 2 Jonathan Pryor 2012-09-04 17:44:01 UTC
Debug builds require Mono for Android 4.2.5 in order to deploy to the Nexus 7. Are you using 4.2.5? It's currently in the beta channel.
Comment 3 maxim 2012-09-05 00:14:11 UTC
Thanks Jonathan, I was using 4.2.4 and that was the problem, with 4.2.5 I can debug my app on nexus 7.