Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile in Release Mode for Android - Error Precompiling failed #16227

Closed
gptucci opened this issue Jul 19, 2023 · 4 comments
Closed

Cannot compile in Release Mode for Android - Error Precompiling failed #16227

gptucci opened this issue Jul 19, 2023 · 4 comments
Labels
platform/android 🤖 s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@gptucci
Copy link

gptucci commented Jul 19, 2023

Description

Cannot compile in Release Mode for Android

Steps to Reproduce

  1. Create a new project with default template
  2. Target: Android
  3. Compile in Release Mode

Link to public reproduction project repository

https://github.com/gptucci/MAUIBug

Version with bug

7.0.49

Last version that worked well

6.0

Affected platforms

Android

Affected platform versions

Android 33

Did you find any workaround?

Yes
I've disabled AOT

Relevant log output

Error		Precompiling failed for C:\Users\g.tucci\source\repos\MauiApp6\MauiApp6\obj\Release\net7.0-android33.0\android-x86\linked\System.Private.CoreLib.dll with exit code 1.
Error: Loaded assembly 'C:\Users\g.tucci\source\repos\MauiApp6\MauiApp6\obj\Release\net7.0-android33.0\android-x86\linked\System.Private.CoreLib.dll'
@gptucci gptucci added the t/bug Something isn't working label Jul 19, 2023
@drasticactions drasticactions added the s/needs-repro Attach a solution or code which reproduces the issue label Jul 19, 2023
@ghost
Copy link

ghost commented Jul 19, 2023

Hi @gptucci. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@drasticactions drasticactions added s/needs-info Issue needs more info from the author and removed s/needs-repro Attach a solution or code which reproduces the issue labels Jul 19, 2023
@ghost
Copy link

ghost commented Jul 19, 2023

Hi @gptucci. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@drasticactions
Copy link
Contributor

(Applied the wrong tag, sorry!)

I think we need more information to know what's going on. I can compile on Release mode with the default template on that runtime without issue on Windows and Mac.

@jonathanpeppers Is there anything that could help this person?

@gptucci
Copy link
Author

gptucci commented Jul 19, 2023

Thank you. I will investigate better. It could be a problem of my environment. Excuse me.

@gptucci gptucci closed this as completed Jul 19, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/android 🤖 s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants