Hello,
But I can't run the app on my device bacause the device is not listing in debug section.
But the device is available for all the other projects. Anything else to do to fix this issue?
I added the <SingleProject>true</SingleProject> property into my Android project's .csproj file under the first/main property group, closed VS, deleted Bin, Obj, .vs folders.
After starting VS again , I rebuilt and VS allowed me to debug on selected .net targets like a single project Maui solution.
Then, you will get the AAPT error cannot find the mipmap/icon, please set all of files' build action to AndroidResource
in the Resource folder.
Then you can run your maui project.
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.