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

API level problem #3

Open
dsyme opened this issue Apr 12, 2018 · 3 comments
Open

API level problem #3

dsyme opened this issue Apr 12, 2018 · 3 comments

Comments

@dsyme
Copy link
Contributor

dsyme commented Apr 12, 2018

I get this on my Windows machine:

image

It might be something to do with Android API levels. Currently installing looking at

It might also be this:

image

@jimbobbennett
Copy link
Owner

What version of the Android SDK do you have installed? I'm using the support libraries from API 27, so you'll need this API version installed.

@dsyme
Copy link
Contributor Author

dsyme commented Apr 13, 2018

I needed to install Oreo 8.1 support.

I think the use of <AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk> is maybe not right - we should just pin to 8.1?

@jimbobbennett
Copy link
Owner

That just tells the compiler to use the latest version installed, and ideally should always be on latest platform rather than pinned to a version. The issue here was support libraries:

in the packages.config. For these NuGets to work you need to have at least 8.1 installed. The Xamarin team are working on autoupdating the installed SDK when you open a project, but not sure if that includes checking the support libraries. Will ping Pierce and ask him.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants