maui icon indicating copy to clipboard operation
maui copied to clipboard

Error: Activity class {../MainActivity} does not exist.

Open hossam14102010 opened this issue 8 months ago • 4 comments

Discussed in https://github.com/dotnet/maui/discussions/9510

Originally posted by devonuto August 18, 2022 After updating to Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.4.0 Preview 1.0 (.NET SDK 6.0.400)

The android emulator isn't in the dropdown as an option to start debugging, only "Windows Machine". When clicking on that, I now get this error:

> am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.devonuto.myapp/crc6444e428aac7225743.MainActivity"
> Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.devonuto.myapp/crc6444e428aac7225743.MainActivity }
Error type 3
Error: Activity class {com.devonuto.myapp/crc6444e428aac7225743.MainActivity} does not exist.
Failed to launch android application

What has changed? How do I get this working again?

hossam14102010 avatar Jun 22 '24 12:06 hossam14102010