Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在需要 Google Maps for Android 4.0 或更高版本的模拟器中安装和调试应用程序?我注意到地图不包含在 SDK 中,除了 API。如果不可能,如何在模拟器中测试需要谷歌地图的应用程序?
对的,这是可能的。为此,您必须使用 Google API 14 或更高版本创建项目,而不是使用标准 Android API 14 或更高版本。如果您未安装 Google API,则必须使用 SDK 管理器下载并安装所需的 Google API 版本,在本例中为 Google API 版本 14 或更高版本。在任何情况下,如果 SDK 管理器没有显示 Google API,那么您必须将 ADT 插件和 SDK 管理器更新到最新版本。