“找不到类”android.support.v4.app.FragmentActivity“”错误 [英] "Could not find class 'android.support.v4.app.FragmentActivity'" Error

查看:3122
本文介绍了“找不到类”android.support.v4.app.FragmentActivity“”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误:

> 02-06 23:10:24.104: E/dalvikvm(912): Could not find class
> 'android.support.v4.app.FragmentActivity', referenced from method
> com.robotium.solo.Waiter.getSupportFragment

运行我用于编程移动应用程序的项目对于Coursera上的Android手持设备系统。我认为这个错误与我的输出答案被认为是不正确有关。如果我可以解决这个错误,我可以修复我的输出。

When running a project I'm using for Programming Mobile Applications for Android Handheld Systems on Coursera.I believe this error is somehow related to my output answer being considered incorrect. if I can fix this error,I can fix my output.

当我最初运行我的测试时,我没有最新版本的Android支持存储库(未安装) ,但是我现在有了根据SDK Manager(v4)的最新版本的Android Support Repository,甚至重新启动了Eclipse和仿真器,但是我仍然收到错误。

I didn't have the latest version of Android Support Repository (not installed) when I initially ran my tests,but I now have the latest version of Android Support Repository according to the SDK Manager (v4),and have even restarted Eclipse and the emulator,but I'm still getting the error.

如何修复LogCat声明ASR根据SDK安装时不存在?

How can I fix the LogCat claiming ASR doesn't exist when it's installed according to the SDK?

推荐答案

如果没有libs文件夹然后创建一个

If there is no "libs" folder then create one

然后单击

项目> Android工具>添加支持库。

Project> Android Tools >Add support Library.

这将有助于您。最后清理项目并重新启动Eclipse

This will help you. Finally clean the project and restart Eclipse

这篇关于“找不到类”android.support.v4.app.FragmentActivity“”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆