【问题标题】:Android library and EmulatorAndroid 库和模拟器
【发布时间】:2013-04-03 00:07:59
【问题描述】:

这个问题可能看起来很愚蠢,但我真的被困住了。要在我的模拟器上的应用程序上运行地图,我需要使用 Google Api 库和模拟器运行),但对于 textview 和我使用 Android 4.2 运行的其他内容。我如何运行整个应用程序?

【问题讨论】:

    标签: android google-maps google-maps-api-3 android-emulator


    【解决方案1】:

    当您选择“Google API”作为您的 SDK 目标时,这也包括该级别的完整 Android API。

    因此,如果您选择“Google API(级别 17)”,则将包括 Android 4.2。

    请注意,除了设置适当的 API 级别之外,您可能还需要其他库来支持特定的 Google 服务。例如,有关添加地图库的详细信息,请参阅https://developers.google.com/maps/documentation/android/start,或有关为 Google 云消息传递添加帮助程序库的详细信息,请参阅 http://developer.android.com/google/gcm/gs.html#libs

    【讨论】:

    • 对于 Eclipse 用户: 在 eclipse 中创建项目时,在“选择构建目标”页面中选择“Google API”后,您可以看到附加文本为“Android +谷歌 API'。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-05-31
    • 2016-11-23
    • 2012-09-24
    • 2017-07-28
    • 2016-02-08
    • 2017-04-09
    相关资源
    最近更新 更多