简体   繁体   English

我要从android studio中的sdk管理器安装哪些软件包

[英]which packages do i install from sdk manager in android studio

i was installing android studio and when i went to sdk manager it told me to install 10 packages by default .. while these packages were installing i lost my internet connection so i cancelled the whole process. 我正在安装android studio,当我去sdk管理器时,它告诉我默认安装10个软件包..当这些软件包正在安装时,我失去了互联网连接,所以我取消了整个过程。 now when i opened the android studio again on the home screen it says rendering fail and the phone which shows up in the middle of the screen (design view ) doesn't show up. 现在,当我再次在主屏幕上打开android studio时,它说渲染失败并且在屏幕中间(设计视图)显示的手机没有显示。 i guess this happened due to some packages where not installed .. so i want to know what the the basic packages that i need to install. 我想这是由于某些未安装的软件包而发生的..所以我想知道我需要安装的基本软件包是什么。 could someone post a list or a screen shot of your installed packages 有人可以发布已安装软件包的列表或屏幕截图吗?

You need 你需要

  1. Android SDK tools Android SDK工具
  2. Android SDK platform-tools Android SDK平台工具
  3. Android SDK build-tools Android SDK构建工具
  4. Install everything in Android 5.0.1 (API 21) - or whatever the version you want 在Android 5.0.1(API 21)中安装所有内容-或所需的任何版本
  5. From Extras: Android Support Repository, Android Support Library, Google Play Services, Google Repository, Android Auto API Simulators, Intel x86 Emulator Accelerator(HAXM installer) 来自Extras:Android支持存储库,Android支持库,Google Play服务,Google存储库,Android Auto API模拟器,英特尔x86模拟器加速器(HAXM安装程序)

FYI, I'm using Eclipse IDE, so the names can be different. 仅供参考,我使用的是Eclipse IDE,因此名称可以不同。 But these will be there in Android Studio too 但是这些也可以在Android Studio中找到

Recommended packages by android developers android开发人员推荐的软件包

Android SDK Build Tools - Includes tools to build Android apps. Android SDK构建工具-包括用于构建Android应用的工具。

Android SDK Platform-tools - Includes various tools required by the Android platform, including the adb tool. Android SDK平台工具-包括Android平台所需的各种工具,包括adb工具。

Android SDK Tools - Includes essential tools such as the Android Emulator and ProGuard. Android SDK工具-包括基本工具,例如Android Emulator和ProGuard。

Android Support Repository - Includes local Maven repository for Support libraries, which provide an extended set of APIs that are compatible with most versions of Android. Android支持存储库-包括支持库的本地Maven存储库,该库提供了扩展的API集,这些API与大多数Android版本兼容。 It's required for products such as Android Wear, Android TV, and Google Cast. 对于Android Wear,Android TV和Google Cast等产品,此功能是必需的。

Google Repository - Includes local Maven repository for Google libraries, which provide a variety of features and services for your apps, such as Google sign-in, Google Maps, Games achievements and leader boards, and much more. Google信息库-包括适用于Google图书馆的本地Maven信息库,可为您的应用程序提供各种功能和服务,例如Google登录,Google地图,游戏成就和排行榜等。

In the SDK Platforms tab, you must also install at least one version of the Android platform. 在“ SDK平台”选项卡中,您还必须安装至少一个版本的Android平台。 Required. 需要。 At least one platform is required in your environment so you're able to compile your application. 您的环境中至少需要一个平台,以便您可以编译应用程序。 In order to provide the best user experience on the latest devices, use the latest platform version as your build target. 为了在最新的设备上提供最佳的用户体验,请使用最新的平台版本作为构建目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM