dir.by  
Поиск >>

Компьютер, программы
→
Xamarin (C# app for Windows, iOS, Android)
 Запуск Xamarin.Android приложения на телефоне (создание apk файла) 
посмотрели 9995 раз
обновлено: 18 June 2020
1) Делаем активную конфигурацию Release
В меню нажимаем Build → Configuration Manager → Active Solution Configuration: Release
2) Архивируем проект в apk file
На проекте Android нажимаем правой клавишей мыши на "Archive"
3) Заполняем информацию о приложении
Нажимаем на "Distribute"
Сохраняем "App2.Android.apk" файл на компьютере например на d: диск
5) Подключаем телефон к компьютеру по USB кабелю
Открываем на компьютере Windows Explorer.
Подключаем телефон и копируем файл с компьютера "d:\App2.Android.apk"
в папку "Downloads" телефона
6) Запускаем "App2.Android.apk" файл на телефоне
Открываем на телефоне Проводник → Загрузки
Запускаем файл "App2.Android.apk" на телефоне
Нажимаем на файл "App2.Android.apk" и телефон установит этот файл как приложение.
Видим что приложение установилось
Запускаем приложение (нажимаем на приложении)
Внимание! При открытии приложения на телефоне нужно выключить режим разработчика.
В телефоне нажимаем: Настройки → Дополнительно → Для разработчиков → выключить Режим разработчика
Приложение запустилось.
 
← Previous topic
Running and debugging Xamarin.Android apps on your phone via USB
 
Next topic →
Testing Xamarin.Android Apps on Your Phone
 
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