Use.NET Core with Visual Studio to create APIs and serverless workflows that can respond to user events and reach global audiences at the push of a button. Integrate machine learning capabilities and add bots for a more immersive user experience, all built with.NET and Visual Studio for Mac. In Visual Studio for Mac visual studio for mac macos 10.15 Fixed - Pending Release Jonathan Peppers MSFT commented Sep 15, '20 38 Votes. Mac (64-bit) android-studio-ide-1-mac.dmg: 856 MB. 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image) 1280 x 800 minimum screen resolution; Chrome OS. Fazer o download de Android Studio para Chrome OS Fazer o download de Android Studio. To start the SDK Manager in Visual Studio for Mac, click Tools SDK Manager. The Android SDK Manager opens in the Preferences window, which contains three tabs, Platforms, Tools, and Locations. The tabs of the Android SDK Manager are described in the following sections. I am new to android app development and a friend recommended me to use Xamarin. So I went to go check it out and I installed Xamarin + Visual Studio 2017. After that, I went through some tutorials of how to work with it and making your first app. However, I couldn't do that as this happened: Picture. I don't exactly know what to do from here.
-->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:
- Visual Studio 2019 Community, Professional o Enterprise.Visual Studio 2019 Community, Professional, or Enterprise.
- OPPURE Visual Studio 2017 (edizione Community, Professional o Enterprise).OR Visual Studio 2017 (Community, Professional, or Enterprise edition).È necessario Visual Studio 2017 versione 15.7 o versione successiva.Visual Studio 2017 version 15.7 or later is required.
- Strumenti di Visual Studio per Xamarin versione 4.10.0 o successiva (installato come parte del carico di lavoro Sviluppo di applicazioni per dispositivi mobili con .NET).Visual Studio Tools for Xamarin version 4.10.0 or later (installed as part of the Mobile development with .NET workload).
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:
- Per impostazione predefinita, Xamarin.Android usa JDK 8, versione necessaria per sviluppare il livello API 24 o un livello superiore. JDK 8 supporta anche i livelli API anteriori al livello 24.By default, Xamarin.Android uses JDK 8, which is required if you are developing for API level 24 or greater (JDK 8 also supports API levels earlier than 24).
- È possibile continuare a usare JDK 7 per attività di sviluppo specifiche per il livello API 23 o un livello precedente.You can continue to use JDK 7 if you are developing specifically for API level 23 or earlier.
- https://clevereo332.weebly.com/blog/age-of-empires-1-free-download-mac. Se si usa Visual Studio 15.8 Preview 5 o versioni successive, è possibile provare a usare la distribuzione Microsoft di Mobile OpenJDK anziché JDK 8.If you are using Visual Studio 15.8 Preview 5 or later, you can try using Microsoft's Mobile OpenJDK Distribution rather than JDK 8.
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:
- Android SDK Manager non ha rilevato Android SDK.The Android SDK Manager was unable to locate the Android SDK.
- Android SDK è stato installato in un percorso diverso (percorso non predefinito).You have installed the Android SDK in a alternate (non-default) location.
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: Why wont roblox download on my mac.
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:
- Visual Studio per Mac 7.5 (o versione successiva).Visual Studio for Mac 7.5 (or later).
Unable to download zip files on mac. 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:
- Per impostazione predefinita, Xamarin.Android usa JDK 8, versione necessaria per sviluppare il livello API 24 o un livello superiore. JDK 8 supporta anche i livelli API anteriori al livello 24.By default, Xamarin.Android uses JDK 8, which is required if you are developing for API level 24 or greater (JDK 8 also supports API levels earlier than 24).
- È possibile continuare a usare JDK 7 per attività di sviluppo specifiche per il livello API 23 o un livello precedente.You can continue to use JDK 7 if you are developing specifically for API level 23 or earlier.
- Se si usa Visual Studio per Mac 7.7 o versioni successive, è possibile provare a usare la distribuzione Microsoft di Mobile OpenJDK anziché JDK 8.If you are using Visual Studio for Mac 7.7 or later, you can try using Microsoft's Mobile OpenJDK Distribution rather than JDK 8.
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 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.
RiepilogoSummary
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.
Visual Studio For Mac Free
Collegamenti correlatiRelated Links
Visual Studio For Mac Download Android Sdk Installer
- Understanding Android API Levels (Informazioni sui livelli API Android)Understanding Android API levels