On this page, you can download ADB and Fastboot zip files for Realme Narzo 20 to install on on Windows, Mac and Linux. If you have ever wanted to download ADB and Fastboot without having to download the whole of Android Studio or SDK, Google has finally made those binaries available officially for Windows, Mac, and Linux. Thus you can now download the latest ADB and Fastboot files from Google Developer site. Before this new development, users had to download. Android sdk free download - Fortnite, Android SDK Tools, Android SDK Search, and many more programs.
-->
The topics in this section explain how to install and configureXamarin.Android to work with Visual Studio on Windows and macOS, how touse the Android SDK Manager to download and install Android SDK toolsand components that are required for building and testing your app, howto configure the Android emulator for debugging, and how to connect aphysical Android device to your development computer for debugging andfinal testing your app.
Windows Installation
This guide walks you through the installation steps and configurationdetails required to install Xamarin.Android on Windows. By the end ofthis article, you will have a working Xamarin.Android installationintegrated into Visual Studio, and you'll be ready to start buildingyour first Xamarin.Android application.
Mac Installation
This article walks you through the installation steps and configurationdetails required to install Xamarin.Android on a Mac. By the end ofthis article, you will have a working Xamarin.Android installationintegrated into Visual Studio for Mac, and you'll be ready to startbuilding your first Xamarin.Android application.
Android SDK Setup
Visual Studio includes an Android SDK Manager that replaces Google'sstandalone Android SDK Manager. This article explains how to use the SDKManager to download Android SDK tools, platforms, and other componentsthat you need for developing Xamarin.Android apps.
Android Emulator Setup
These articles explain how to setup the Android Emulator fortesting and debugging Xamarin.Android applications.
Android Device Setup
This article explains how to setup a physical Android device andconnect it to a development computer so that the device may be used torun and debug Xamarin.Android applications.
Microsoft Mobile OpenJDK Preview
This guide describes the steps for switching to the preview release of Microsoft's distributionof the OpenJDK. This distribution of the OpenJDK is intended for mobile development.
-->
Visual Studio include Android SDK Manager che consente di scaricare gli strumenti, le piattaforme e gli altri componenti di Android SDK necessari per sviluppare app Xamarin.Android.Visual Studio includes an Android SDK Manager that you use to download Android SDK tools, platforms, and other components that you need for developing Xamarin.Android apps.
PanoramicaOverview
Questa guida illustra come usare Xamarin Android SDK Manager in Visual Studio e Visual Studio per Mac.This guide explains how to use the Xamarin Android SDK Manager in Visual Studio and Visual Studio for Mac.
Nota
Questa guida si applica a Visual Studio 2019, Visual Studio 2017 e Visual Studio per Mac.This guide applies to Visual Studio 2019, Visual Studio 2017, and Visual Studio for Mac.
Xamarin Android SDK Manager viene installato come componente del carico di lavoroSviluppo di app per dispositivi mobili con .NET e consente di scaricare i componenti Android più recenti necessari per lo sviluppo dell'app Xamarin.Android.The Xamarin Android SDK Manager (installed as part of the Mobile development with .NET workload) helps you download the latest Android components that you need for developing your Xamarin.Android app.Sostituisce lo strumento autonomo SDK Manager di Google, che è stato deprecato.It replaces Google's standalone SDK Manager, which has been deprecated.
RequisitiRequirements
Per usare Xamarin Android SDK Manager sono necessari i componenti seguenti:To use the Xamarin Android SDK Manager, you will need the following:
In Xamarin Android SDK Manager è anche necessario Java Development Kit, che viene installato automaticamente con Xamarin.Android.The Xamarin Android SDK Manager also requires the Java Development Kit (which is automatically installed with Xamarin.Android).Sono disponibili numerose alternative di JDK:There are several JDK alternatives to choose from:
Importante
Xamarin.Android non supporta JDK 9.Xamarin.Android does not support JDK 9.
SDK ManagerSDK Manager
Per avviare SDK Manager in Visual Studio, selezionare Strumenti -> Android -> Android SDK Manager:To start the SDK Manager in Visual Studio, click Tools > Android > Android SDK Manager:
Android SDK Manager si apre nella schermata Android SDK e strumenti Android,The Android SDK Manager opens in the Android SDKs and Tools screen.in cui sono disponibili due schede – Piattaforme e Strumenti:This screen has two tabs – Platforms and Tools:
La schermata Android SDK e strumenti Android viene descritta più nel dettaglio nelle sezioni seguenti.The Android SDKs and Tools screen is described in more detail in the following sections.
![]() Posizione di Android SDKAndroid SDK location
La posizione di Android SDK è configurata nella parte superiore della schermata Android SDK e strumenti Android, come illustrato nella schermata precedente.The Android SDK location is configured at the top of the Android SDKs and Tools screen, as seen in the previous screenshot.Questo percorso deve essere configurato correttamente per l'esatto funzionamento delle schede Piattaforme e Strumenti.This location must be configured correctly before the Platforms and Tools tabs will function properly.È possibile dover impostare il percorso di Android SDK per uno o più dei motivi seguenti:You may need to set the location of the Android SDK for one or more of the following reasons:
Per impostare la posizione di Android SDK, fare clic sui puntini di sospensione (…) a destra di Percorso di Android SDK.To set the location of the Android SDK, click the ellipsis (…) button to the far right of Android SDK Location.Si aprirà la finestra di dialogo Sfoglia per cartelle da usare per spostarsi nel percorso di Android SDK.This opens the Browse For Folder dialog to use for navigating to the location of the Android SDK.Nella schermata seguente Android SDK viene selezionato in Programmi (x86)Android:In the following screenshot, the Android SDK under Program Files (x86)Android is being selected:
Quando si fa clic su OK, SDK Manager gestisce Android SDK installato nella posizione selezionata.When you click OK, the SDK Manager will manage the Android SDK that is installed at the selected location.
Scheda StrumentiTools tab
Nella scheda Strumenti viene visualizzato un elenco di strumenti e funzionalità aggiuntive.The Tools tab displays a list of tools and extras.Usare questa scheda per installare gli strumenti di Android SDK, gli strumenti della piattaforma e gli strumenti di compilazione.Use this tab to install the Android SDK tools, platform tools, and build tools.È anche possibile installare l'emulatore Android, il debugger di basso livello, NDK, l'accelerazione HAXM e le librerie di Google Play.Also, you can install the Android Emulator, the low-level debugger (LLDB), the NDK, HAXM acceleration, and Google Play libraries.
Ad esempio, per scaricare il pacchetto relativo all'emulatore Android di Google, selezionare il segno di spunta accanto a Emulatore Android e fare clic sul pulsante Applica modifiche:For example, to download the Google Android Emulator package, click the check mark next to Android Emulator and click the Apply Changes button:
È possibile che venga visualizzato il messaggio Prima di installare il pacchetto seguente è necessario accettarne le condizioni di licenza:A dialog may be shown with the message, The following package requires that you accept its license terms before installing:
Selezionare Accetto se si accettano i termini e le condizioni.Click Accept if you accept the Terms and Conditions.L'indicatore di stato nella parte inferiore della finestra indica lo stato del download e dell'installazione.At the bottom of the window, a progress bar indicates download and installation progress.Al termine dell'installazione, nella scheda Strumenti saranno visualizzati gli strumenti e le funzionalità aggiuntive installati.After the installation completes, the Tools tab will show that the selected tools and extras were installed.
Scheda PiattaformePlatforms tab
La scheda Piattaforme visualizza un elenco di versioni di Platform SDK insieme ad altre risorse (ad esempio immagini di sistema) per ogni piattaforma:The Platforms tab displays a list of platform SDK versions along with other resources (like system images) for each platform:The Platforms tab displays a list of platform SDK versions along with other resources (like system images) for each platform:
In questa schermata vengono elencati la versione Android (ad esempio Android 8.0), il nome in codice (Oreo), il livello API (ad esempio 26) e le dimensioni dei componenti per la piattaforma (ad esempio 1 GB).This screen lists the Android version (such as Android 8.0), the code name (Oreo), the API level (such as 26), and the sizes of the components for that platform (such as 1 GB).La scheda Piattaforme consente di installare componenti per il livello API Android previsto come destinazione.You use the Platforms tab to install components for the Android API level that you want to target.Per altre informazioni sulle versioni di Android e i livelli API, vedere Understanding Android API Levels (Informazioni sui livelli API Android).For more information about Android versions and API levels, see Understanding Android API Levels.
Quando tutti i componenti di una piattaforma sono installati, il nome della piattaforma viene affiancato da un segno di spunta.When all components of a platform are installed, a checkmark appears next to the platform name.Se non tutti i componenti di una piattaforma sono installati, la casella per la piattaforma è compilata.If not all components of a platform are installed, the box for that platform is filled.È possibile espandere una piattaforma per visualizzarne i componenti + (e i componenti installati) facendo clic sulla casella a sinistra della piattaforma.You can expand a platform to see its components (and which components are installed) by clicking the + box to the left of the platform.Fare - clic per annullare l'espansione dell'elenco dei componenti per una piattaforma.Click - to unexpand the component listing for a platform.
Per aggiungere un'altra piattaforma a SDK, selezionare la casella accanto alla piattaforma finché viene visualizzato il segno di spunta per installare tutti i relativi componenti, quindi fare clic su Applica modifiche:To add another platform to the SDK, click the box next to the platform until the checkmark appears to install all of its components, then click Apply Changes:
Per installare solo componenti specifici, fare clic una sola volta sulla casella accanto alla piattaforma.To install only specific components, click the box next to the platform once.È possibile selezionare i singoli componenti necessari:You can then select any individual components that you need:
Si noti che il numero di componenti da installare viene visualizzato accanto al pulsante Applica modifiche.Notice that the number of components to install appears next to the Apply Changes button.Dopo aver fatto clic sul pulsante Applica modifiche viene visualizzata la schermata Accettazione della licenza, come indicato in precedenza.After you click the Apply Changes button, you will see the License Acceptance screen as shown earlier.Selezionare Accetto se si accettano i termini e le condizioni.Click Accept if you accept the Terms and Conditions.È possibile che questa finestra di dialogo sia visualizzata più di una volta se i componenti da installare sono più di uno.You may see this dialog more than one time when there are multiple components to install.L'indicatore di stato nella parte inferiore della finestra indica lo stato del download e dell'installazione.At the bottom of the window, a progress bar will indicate download and installation progress.Al termine del download e dell'installazione (l'operazione può richiedere molti minuti, a seconda del numero di componenti da scaricare), i componenti aggiunti vengono contrassegnati da un segno di spunta ed elencati con lo stato Installato.When the download and installation process completes (this can take many minutes, depending on how many components need to be downloaded), the added components are marked with a checkmark and listed as Installed.
Selezione del repositoryRepository selection
Per impostazione predefinita Android SDK Manager scarica i componenti e gli strumenti della piattaforma da un repository gestito da Microsoft.By default, the Android SDK Manager downloads platform components and tools from a Microsoft-managed repository.Se è necessario accedere a piattaforme e strumenti sperimentali alfa/beta non ancora disponibili nel repository di Microsoft, è possibile impostare SDK Manager in modo che usi il repository di Google.If you need access to experimental alpha/beta platforms and tools that are not yet available in the Microsoft repository, you can switch the SDK Manager to use Google's repository.Per questa impostazione fare clic sull'icona a forma di ingranaggio nell'angolo inferiore destro e selezionare Repository > Google (non supportato):To make this switch, click the gear icon in the lower right-hand corner and select Repository > Google (Unsupported):
Quando è selezionato il repository di Google è possibile che nella scheda Piattaforme siano visibili pacchetti non disponibili in precedenza.When the Google repository is selected, additional packages may appear in the Platforms tab that were not available previously.(Nella schermata precedente, Android SDK Platform 28 è stato aggiunto passando al repository di Google.) Tieni presente che l'uso del repository di Google non è supportato e pertanto non è raccomandato per lo sviluppo quotidiano.(In the above screenshot, Android SDK Platform 28 was added by switching to the Google repository.) Keep in mind that use of the Google repository is unsupported and is therefore not recommended for everyday development.
Per tornare al repository di piattaforme e strumenti supportato, fare clic su Microsoft (scelta consigliata).To switch back to the supported repository of platforms and tools, click Microsoft (Recommended).L'elenco di pacchetti e strumenti viene ripristinato con la selezione predefinita.This restores the list of packages and tools to the default selection.
RequisitiRequirements
Per usare Xamarin Android SDK Manager sono necessari i componenti seguenti:To use the Xamarin Android SDK Manager, you will need the following:
In Xamarin Android SDK Manager è anche necessario Java Development Kit, che viene installato automaticamente con Xamarin.Android.The Xamarin Android SDK Manager also requires the Java Development Kit (which is automatically installed with Xamarin.Android).Sono disponibili numerose alternative di JDK:There are several JDK alternatives to choose from:
Importante
Xamarin.Android non supporta JDK 9.Xamarin.Android does not support JDK 9.
SDK ManagerSDK Manager
Per avviare SDK Manager in Visual Studio per Mac, selezionare Strumenti -> SDK Manager:To start the SDK Manager in Visual Studio for Mac, click Tools > SDK Manager:
Android SDK Manager si apre nel finestra Preferenze, che contiene tre schede Piattaforme, Strumenti e Percorsi:The Android SDK Manager opens in the Preferences window, which contains three tabs, Platforms, Tools, and Locations:
Le schede di Android SDK Manager sono descritte nelle sezioni seguenti.The tabs of the Android SDK Manager are described in the following sections.
Scheda PercorsiLocations tab
Nella scheda Percorsi sono disponibili tre impostazioni per la configurazione di Android SDK, Android NDK e Java SDK (JDK).The Locations tab has three settings for configuring the locations of the Android SDK, Android NDK, and the Java SDK (JDK).Questi percorsi devono essere configurati correttamente per l'esatto funzionamento delle schede Piattaforme e Strumenti.These locations must be configured correctly before the Platforms and Tools tabs will function properly.
All'avvio, SDK Manage determina automaticamente il percorso per ogni pacchetto installato e indica che è stato Trovato inserendo un'icona di spunta verde accanto al percorso:When the SDK Manager starts, it automatically determines the path for each installed package and indicates that it was Found by placing a green checkmark icon next to the path:
Fare clic sul pulsante Ripristina valori predefiniti perché SDK Manager esegua la ricerca di SDK, NDK e JDK in percorsi predefiniti.Click the Reset to Defaults button to cause the SDK Manager to look for the SDK, NDK, and JDK at their default locations.
In genere, si usa la scheda Percorsi per modificare il percorso di Android SDK e/o Java JDK.Typically, you use the Locations tab to modify the location of the Android SDK and/or the Java JDK.Non è necessario installare NDK per sviluppare app Xamarin.Android. NDK viene usato solo quando è necessario sviluppare parti di app che usano linguaggi di codice nativo, ad esempio C e C++.You do not need to install the NDK to develop Xamarin.Android apps – the NDK is used only when you need to develop parts of your app using native-code languages such as C and C++.
Scheda StrumentiTools tab
Nella scheda Strumenti viene visualizzato un elenco di strumenti e funzionalità aggiuntive.The Tools tab displays a list of tools and extras.Usare questa scheda per installare gli strumenti di Android SDK, gli strumenti della piattaforma e gli strumenti di compilazione.Use this tab to install the Android SDK tools, platform tools, and build tools.È anche possibile installare l'emulatore Android, il debugger di basso livello, NDK, l'accelerazione HAXM e le librerie di Google Play.Also, you can install the Android Emulator, the low-level debugger (LLDB), the NDK, HAXM acceleration, and Google Play libraries.
Ad esempio, per scaricare il pacchetto relativo all'emulatore Android di Google, selezionare il segno di spunta accanto a Emulatore Android e fare clic sul pulsante Applica modifiche:For example, to download the Google Android Emulator package, click the check mark next to Android Emulator and click the Apply Changes button:
È possibile che venga visualizzato il messaggio Prima di installare il pacchetto seguente è necessario accettarne le condizioni di licenza:A dialog may be shown with the message, The following package requires that you accept its license terms before installing:
Selezionare Accetto se si accettano i termini e le condizioni.Click Accept if you accept the Terms and Conditions.L'indicatore di stato nella parte inferiore della finestra indica lo stato del download e dell'installazione.At the bottom of the window, a progress bar indicates download and installation progress.Al termine dell'installazione, nella scheda Strumenti saranno visualizzati gli strumenti e le funzionalità aggiuntive installati.After the installation completes, the Tools tab will show that the selected tools and extras were installed.
Scheda PiattaformePlatforms tab
La scheda Piattaforme visualizza un elenco di versioni di Platform SDK insieme ad altre risorse (ad esempio immagini di sistema) per ogni piattaforma:The Platforms tab displays a list of platform SDK versions along with other resources (like system images) for each platform:The Platforms tab displays a list of platform SDK versions along with other resources (like system images) for each platform:
In questa schermata vengono elencati la versione Android (ad esempio Android 8.1), il nome in codice (Oreo), il livello API (ad esempio 27) e le dimensioni dei componenti per la piattaforma (ad esempio 1 GB).This screen lists the Android version (such as Android 8.1), the code name (Oreo), the API level (such as 27), and the sizes of the components for that platform (such as 1 GB).La scheda Piattaforme consente di installare componenti per il livello API Android previsto come destinazione.You use the Platforms tab to install components for the Android API level that you want to target.Per altre informazioni sulle versioni di Android e i livelli API, vedere Understanding Android API Levels (Informazioni sui livelli API Android).For more information about Android versions and API levels, see Understanding Android API Levels.
Quando tutti i componenti di una piattaforma sono installati, il nome della piattaforma viene affiancato da un segno di spunta.When all components of a platform are installed, a checkmark appears next to the platform name.Se non tutti i componenti di una piattaforma sono installati, la casella per la piattaforma è compilata.If not all components of a platform are installed, the box for that platform is filled.Fare clic sulla casella freccia a sinistra della piattaforma per espandere una piattaforma e visualizzare i relativi componenti e i componenti installati.You can expand a platform to see its components (and which components are installed) by clicking the arrow to the left of the platform.Fare clic su freccia giù per comprimere l'elenco dei componenti di una piattaforma.Click down arrow to unexpand the component listing for a platform.
Per aggiungere un'altra piattaforma a SDK, selezionare la casella accanto alla piattaforma finché viene visualizzato il segno di spunta per installare tutti i relativi componenti, quindi fare clic su Applica modifiche:To add another platform to the SDK, click the box next to the platform until the checkmark appears to install all of its components, then click Apply Changes:
Per installare solo alcuni componenti, fare clic una sola volta sulla casella accanto alla piattaforma.To install only some components, click the box next to the platform once.È possibile selezionare i singoli componenti necessari:You can then select any individual components that you need:
Si noti che il numero di componenti da installare viene visualizzato accanto al pulsante Applica modifiche.Notice that the number of components to install appears next to the Apply Changes button.Dopo aver fatto clic sul pulsante Applica modifiche viene visualizzata la schermata Accettazione della licenza, come indicato in precedenza.After you click the Apply Changes button, you will see the License Acceptance screen as shown earlier.Selezionare Accetto se si accettano i termini e le condizioni.Click Accept if you accept the Terms and Conditions.È possibile che questa finestra di dialogo sia visualizzata più di una volta se i componenti da installare sono più di uno.You may see this dialog more than one time when there are multiple components to install.L'indicatore di stato nella parte inferiore della finestra indica lo stato del download e dell'installazione.At the bottom of the window, a progress bar will indicate download and installation progress.Al termine del download e dell'installazione (l'operazione può richiedere molti minuti, a seconda del numero di componenti da scaricare), i componenti aggiunti vengono contrassegnati da un segno di spunta ed elencati con lo stato Installato.When the download and installation process completes (this can take many minutes, depending on how many components need to be downloaded), the added components are marked with a checkmark and listed as Installed.
Selezione del repositoryRepository selectionAndroid Sdk 28 Download Mac Os
Per impostazione predefinita Android SDK Manager scarica i componenti e gli strumenti della piattaforma da un repository gestito da Microsoft.By default, the Android SDK Manager downloads platform components and tools from a Microsoft-managed repository.Se è necessario accedere a piattaforme e strumenti sperimentali alfa/beta non ancora disponibili nel repository di Microsoft, è possibile impostare SDK Manager in modo che usi il repository di Google.If you need access to experimental alpha/beta platforms and tools that are not yet available in the Microsoft repository, you can switch the SDK Manager to use Google's repository.Per questa impostazione fare clic sull'icona a forma di ingranaggio nell'angolo inferiore destro e selezionare Repository > Google (non supportato):To make this switch, click the gear icon in the lower right-hand corner and select Repository > Google (Unsupported):
Quando è selezionato il repository di Google è possibile che nella scheda Piattaforme siano visibili pacchetti non disponibili in precedenza.When the Google repository is selected, additional packages may appear in the Platforms tab that were not available previously.(Nella schermata precedente, Android SDK Platform 28 è stato aggiunto passando al repository di Google.) Tieni presente che l'uso del repository di Google non è supportato e pertanto non è raccomandato per lo sviluppo quotidiano.(In the above screenshot, Android SDK Platform 28 was added by switching to the Google repository.) Keep in mind that use of the Google repository is unsupported and is therefore not recommended for everyday development.
Per tornare al repository di piattaforme e strumenti supportato, fare clic su Microsoft (scelta consigliata).To switch back to the supported repository of platforms and tools, click Microsoft (Recommended).L'elenco di pacchetti e strumenti viene ripristinato con la selezione predefinita.This restores the list of packages and tools to the default selection.
RiepilogoSummaryDownload Android Sdk Platform 28
In questa guida è stato spiegato come installare e usare lo strumento Xamarin Android SDK Manager in Visual Studio e Visual Studio per Mac.This guide explained how to install and use the Xamarin Android SDK Manager tool in Visual Studio and Visual Studio for Mac.
Collegamenti correlatiRelated LinksAndroid Sdk Download For Windows 10
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |