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

I cannot select API Level 35 for Android. #24813

Closed
voroninp opened this issue Sep 18, 2024 · 12 comments
Closed

I cannot select API Level 35 for Android. #24813

voroninp opened this issue Sep 18, 2024 · 12 comments
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@voroninp
Copy link

Description

I've installed .NET 9 RC1 and VS 17.12.0 Preview 2.
When I create MAUI application from the template, I see these settings for Android:
image

image

If I explicitly set 34 level, I get this error:

34.0 is not a valid TargetPlatformVersion for Android. Valid versions include:
35.0

I've installed 35 in SDK Manager:
image

image

Steps to Reproduce

Just create an application from template.

Link to public reproduction project repository

No response

Version with bug

9.0.0-rc.1.24453.9

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 15

Did you find any workaround?

No

Relevant log output

No response

@voroninp voroninp added the t/bug Something isn't working label Sep 18, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Sep 18, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified using Visual Studio 17.12.0 Preview 2.0(9.0.0-rc.1.24453.9 & 8.0.82 & 8.0.3). Can repro this issue on .net9 and .net8. Only can set API34.

@jfversluis
Copy link
Member

So you mean it works targeting API 35, but there just isn't a setting in Visual Studio?

@voroninp
Copy link
Author

No, I could not deploy to emulator when there was empty selection, and could not build when it was API 34.

@jfversluis
Copy link
Member

What is the build error for the empty selection?

@voroninp
Copy link
Author

voroninp commented Sep 18, 2024

For some reason it was:
image

And I was getting:

The project Android35FailingBuild needs to be deployed before it can be started. Verify the project is selected to be deployed in the Solution Configuration Manager.

After I checked Deploy, I could start it in emulator.
Btw, for some reason, I cannot create a device in Android Device Manager with API 35, image won't be downloaded.
image

@PureWeen PureWeen added the area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging label Sep 19, 2024
@tj-devel709 tj-devel709 added this to the 9.0-rc2 milestone Sep 19, 2024
@jfversluis
Copy link
Member

Small update: this is something in our tooling which is tracked through a different system. Unfortunately, I don't have a link with status updates from their side so I'll leave this open until we get it fixed and release to notify you!

@stmoor
Copy link
Contributor

stmoor commented Sep 26, 2024

@jfversluis / @voroninp, I could not reproduce this issue, and the project built successfully with the API 35 selected through the property page!

Visual Studio Version: 17.12.0 Preview 3.0
.NET Version: 9.0.100-rc.1.24452.12

image

@voroninp , can you please try updating your environment and check if this issue still persists?

@voroninp
Copy link
Author

@stmoor , hm... my VS installer does not show me preview 3.0 yet. I have 2.1 installed now.

@jfversluis
Copy link
Member

@voroninp it seems that this is the version we have in our internal preview right now so hopefully that will be released soon. It seems that that has the fix for this. Closing this here now in anticipation of that. If preview 3 does not fix that for you, please report it through Visual Studio. Under the Help menu go to Provide Feedback and Report a Problem. That will land it with the right team so it can be looked at sooner and more efficient.

Thanks!

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
@ra-bedo11
Copy link

I can't find it
preview3 ??? in visual studio 2022

@voroninp
Copy link
Author

voroninp commented Oct 3, 2024

@ra-bedo11 , not released into public yet.

The message above yours:

it seems that this is the version we have in our internal preview right now

@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants