dir.by  
Поиск >>

Компьютер, программы
→
Xamarin (C# app for Windows, iOS, Android)
 Инсталлирование Android платформы (SDK 7.1.1 API 25) в Visual Studio 2017 
посмотрели 10766 раз
обновлено: 18 June 2020
Платформа Android нужна для тестирования приложений и работы с устройством
Чтобы инсталлировать платформу Android 7.1 (API 25) нужно открыть Visual Studio 2017
Нажимаем в меню: Tools → Android → Android SDK Manager...
Появится окно "Android SDK and Tools" у меня список версий Android пуст
Чтобы увидеть список Android SDK я выбираю Repository → Google
Выбираем Andoid SDK версию
Выбираем галочкой Android 7.1 (API 25)
Это версия Android будет поддерживаться у каждого на телефоне
Новая версия в Visual Studio 2017
Старая версия в Visual Studio 2017
Нажимаем Apply changes (в старой версии install)
Ждем примерно 30 минут пока скачаются пакеты Android и установятся.
Установка завершена
Видим что Android SDK 7.1 установился
Новая версия в Visual Studio 2017
Старая версия в Visual Studio 2017
При компиляции проекта в Visual Studio 2017 ошибки ...
Page "Error List"
Error 1: Some required Android Components are missing. Double-click here and follow the prompts to install them.

Error 2: The project 'MyGame_AnimalGo_MonoGame' is missing Android SDKs required for building. Double-click on this message and follow the prompts to install them.

Page "Output"
Build info: Project 'MyGame_AnimalGo_MonoGame' requires the following components installed on your machine:
Android SDK Platform 26

Решение: инсталируем Android 8.0 (SDK 26)
Для этого в Visual Studio 2017 нажимаем в меню: Tools → Android → Android SDK Manager...

Выбираем только 2 галочки:
[v] Android SDK Platform 26
[v] Source for Android 26
Видим проинсталировалось
Компилируем проект. Все хорошо. Ошибок нет.
 
← Previous topic
Creating an Android Virtual Device in Visual Studio 2017
 
Next topic →
Errors in Xamarin.Android app: Error IDE0006 | Error "Could not find android.jar for API Level"
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

Новость "Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
 
Xamarin
• What is Xamarin?
Download and install Xamarin
• Download and install Microsoft Visual Studio to write Miaui applications on a computer with the Windows system
• Open Visual Studio (for writing in Xamarin)
Creating a Xamarin app
• Creating a new Xamarin app on a Windows computer
Run the Xamarin.UWP app on a Windows computer
• Run and debug a Xamarin.UWP app on a Windows computer
• Making App Packages for Xamarin.UWP apps on a Windows computer | Run the Xamarin.UWP app using App Packages
Run the Xamarin.Android application on a Windows computer
• Run and debug Xamarin.Android apps on your computer (Windows) in Android emulator mode
• Running and debugging Xamarin.Android apps on your phone via USB
• Running Xamarin.Android app on your phone (create apk file)
• Testing Xamarin.Android Apps on Your Phone
Android (install)
• Creating an Android Virtual Device in Visual Studio 2017
• Installing the Android Platform (SDK 7.1.1 API 25) in Visual Studio 2017...
• Errors in Xamarin.Android app: Error IDE0006 | Error "Could not find android.jar for API Level"
Run the Xamarin.iOS application on a computer with an iOS system
• Running and debugging a Xamarin.iOS app on your computer (Windows) in iOS emulator mode
• Running and debugging a Xamarin.iOS application on a computer with the MacOSX operating system
Xamarin Forms (Maui elements)
• What is Xamarin.Forms (Maui)?
• (ContentPage, FlyoutPage, NavigationPage, TabbedPage) is a page in Xamarin.Forms | C# | MAUI
• (Grid, StackLayout) is the layout of graphic elements in Xamarin.Forms (Maui)
• A graphic element in Xamarin.Forms (this is a button, text field, etc., inherited from the View class) | Xamarin.Forms | C# | Maui
• Graphical editor for XAML file in Xamarin.Forms
Database in Xamarin
• Download and install DB Browser for SQLite (program for working with sqlite)
• Open (run) DB Browser for SQLite
Additional topics, questions
• Why does the minimum Xamarin.Android program get an apk file larger than 5 mb?
Books about Xamarin
• Xamarin Study Books

  Ваши вопросы присылайте по почте: info@dir.by