Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Android Studio 4.0 Upgrade breaks Xamarin.Android profiling - "Default Activity not found"

wellhatwellhat Member ✭✭

After upgrading to Android Studio 4.0.2, I was no longer able to use the Android Studio Profiler with my Xamarin.Android app, as instructed here (Microsoft Docs).

It will tell you that the "Default Activity" could not be found; a google search suggested that I adjust my build configuration to use a default activity, but doing this just changes the error to "Unable to determine application id".

Reverting to Android Studio 3.6.1 fixes the issue and everything works as expected by following the instructions in the Microsoft Docs I linked above.

Additional context: minimum android version API 21, target version API 28, shared runtime is disabled, building to OnePlus 7T

Unsure where to raise an issue for this, but please let me know if I can provide any more information about the issue.

Sign In or Register to comment.