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

Open
voroninp opened this issue Sep 18, 2024 · 6 comments
Open

I cannot select API Level 35 for Android. #24813

voroninp opened this issue Sep 18, 2024 · 6 comments
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging 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

5 participants