Jared Price Jared Price - 4 months ago 164
Android Question

Xamarin - Android - Visual Studio - The application could not be started

I was working on an Android project using Xamarin in Visual Studio 2012. I recently upgraded from an HDD to a SSD so I reinstalled Windows and all of my programs.

After cloning my git repository and trying to run the application on my device, I have not been able to get it to run. I was able to start a new hello world project and I got that to run, but I can't get this project to run.

This is what the error says:

The application could not be started. Ensure that the application has been installed to the target device and has a launchable activity (MainLauncher = true).

Additionally, check Build->Configuration Manager to ensure this project is set to Deploy for this configuration.

I have searched for a solution to this issue but have been unable to find anything that worked.


I solved the issue. Somehow the application still existed on my device even though it did not show up in my applications and I needed to remove it.

The solution was to find an old APK that I had emailed and I installed that. Then I uninstalled the application and deployed it again from Visual Studio. This time it worked.

You can read more here: https://forums.xamarin.com/discussion/8501/install-failed-update-incompatible