Hello,
Based on your error, this issue is related to the AOT. please right click your project, choose property. Open the Android selection->choose Options-> Find the AOT-> Un-select the Release & net8.0-android
.
After that, please close your VS and open your project folder, delete the bin and obj folder and open your project with VS, rebuild your project and release it.
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.