Skip to content

Instantly share code, notes, and snippets.

@wcoder
Created November 20, 2017 14:40
Show Gist options
  • Save wcoder/b7843abbd3d60e2fdcfbddb91ff9d495 to your computer and use it in GitHub Desktop.
Save wcoder/b7843abbd3d60e2fdcfbddb91ff9d495 to your computer and use it in GitHub Desktop.
Build Xamarin Android apk & launch on emulator
:: /t:Rebuild /p:Configuration=Debug
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ProgressDownload\ProgressDownload.csproj /t:Clean
:: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ProgressDownload\ProgressDownload.csproj /t:Build /p:Configuration=Debug /t:SignAndroidPackage
"D:\Android\android-sdk\platform-tools\adb" -e install -r D:\Examples\ProgressDownload\ProgressDownload\bin\Debug\ProgressDownload.ProgressDownload-Signed.apk
"D:\Android\android-sdk\platform-tools\adb" shell am start -a android.intent.action.MAIN -n ProgressDownload.ProgressDownload/md561b58bf940400681c51dbf58dcc9744c.MainActivity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment