Could not find android.jar for API Level 25

Asked

Viewed 853 times

0

I’m just trying to run a simple "Hello World" in Visual Studio. I created a project like Cross Platform. I installed Visual Studio 2017, while trying to run does not open the emulator, generating the following error:

Error: Could not find android.jar for API Level 25. This means the Android SDK platform for API Level 25 is not installed. Either install it in the Android SDK Manager (Tools > Open Android SDK Manager...), or change your Xamarin.Android project to target an API version that is installed. (C:\Program Files (x86)\Android\android-sdk\platforms\android-25\android.jar missing.)

Erro retornado ao tentar Ctrl+F5

1 answer

0


apparently only missing the platform for which your project was created, so you must install the correct version. Go to Tools>> Android>>Android SDK Manager, then select the option of the corresponding package version, click Install Package. This should solve.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.