Just want to share my previous experience... I don't know if this I already done by the command Jonathan wrote, but:
Remember to zipalign the APK. after the package is signed. I didn't do that (to exclude potential errors) but caused the app to behave very strange. Maybe you already know - I just wanted to share my experience in case others have the same kind of issues as I were having :) Regards, Nicklas -----Original Message----- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pobst Sent: 18. oktober 2011 23:01 To: Discussions related to Mono for Android Subject: Re: [mono-android] Building the .apk VS2010 build the .apk: msbuild.exe MyApp.csproj /p:Configuration=Release /t:PackageForAndroid or build and sign the .apk: msbuild.exe MyApp.csproj /p:Configuration=Release /t:SignAndroidPackage Jonathan On 10/18/2011 3:55 PM, Dustin Sprick wrote: > Is there a way to build the .apk without deploying it to the device? > I am using VS2010 and building the solution, but that does not > actually package the application. > Mono seems to package it on the deploy step. Can this be done without > a device attached? > > I am building an install script that creates the apk file and want it > to be automated. > > *reply Build -> Package project for Android(.apk) >> El-Sayed close, > but not exactly what I am trying to do, unless there is a command > line. > > Clarity: > > Is there a command line argument for that specific "Package project > for Android(.apk)"? > I don't want to open VS and click a build option. Looking for an > Automated way to get the package. > > > > > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid