简体   繁体   English

android.support.v4.app.FragmentActivity无法解析

[英]android.support.v4.app.FragmentActivity can not be resolved

I'm trying to open the mapdemo sample project included in the google play services. 我正在尝试打开Goog​​le Play服务中包含的mapdemo示例项目。 However, it is giving me errors in every src file all boiling down to import android.support.v4.app.FragmentActivity; 但是,它给我所有src文件中的错误,所有错误都在逐步导入android.support.v4.app.FragmentActivity; can not be resolved. 无法解决。 How do I fix this? 我该如何解决? Did I skip a step? 我跳过了一步吗?

You must add the support library to your project. 您必须将支持库添加到您的项目。

Right Click in your project -> Android Tools -> Add support library 右键单击您的项目-> Android工具->添加支持库

暂无
暂无

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

相关问题 android.support.v4.app.FragmentActivity扩展了什么? - What does android.support.v4.app.FragmentActivity extend? android.support.v4.app.FragmentActivity缺少操作栏 - android.support.v4.app.FragmentActivity missing action bar 无法在ViewModelProviders中解析android.support.v4.app.FragmentActivity的方法 - Cannot resolve method of android.support.v4.app.FragmentActivity in ViewModelProviders 无法将ContraceptiveFragment中的ContraceptiveFragment()应用于(android.support.v4.app.FragmentActivity) - ContraceptiveFragment( ) in ContraceptiveFragment cannot be applied to (android.support.v4.app.FragmentActivity) “TAG”在“android.support.v4.app.FragmentActivity”中有私有访问权限 - 'TAG' has private access in 'android.support.v4.app.FragmentActivity' “无法找到类'android.support.v4.app.FragmentActivity'”错误 - “Could not find class 'android.support.v4.app.FragmentActivity'” Error 无法解析构造函数'GridLayoutManager(android.support.v4.app.FragmentActivity) - Cannot resolve constructor 'GridLayoutManager(android.support.v4.app.FragmentActivity) 无法将clcik上的android.app.Application强制转换为android.support.v4.app.FragmentActivity - android.app.Application cannot be cast to android.support.v4.app.FragmentActivity on clcik 谷歌地图v2,缺少'android.support.v4.app.FragmentActivity' - Google maps v2, missing 'android.support.v4.app.FragmentActivity' 被android.support.v4.app.FragmentActivity和android.app.FragmentTransaction混淆 - Confused by android.support.v4.app.FragmentActivity and android.app.FragmentTransaction
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM