ViewPagerIndicator库配置ViewPagerIndicator

2023-09-06 17:19:20 作者:别做逃兵

在我的ViewPagerIndicator库添加到工作Android项目,该项目力接近,不工作了。结果当我删除该项目再次工作库中。结果我有那些日志中的错误: http://pastesite.com/31448

When I add the ViewPagerIndicator library to a working android project, the project force close and does not work anymore. When I remove the library the project works again. I have those log error: http://pastesite.com/31448

不知道如何解决呢?结果谢谢你。

Any idea how to solve it? Thanks.

编辑:做Android的工作与Java 7 64位?也许问题在于......

does Android work with Java 7 64bits? Maybe the problem is that...

推荐答案

我假设你使用的是Eclipse。

I assume you are using Eclipse.

首先,你必须在Eclipse中创建一个ViewPagerIndicator的Andr​​oid库项目。见http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject

First you have to create a ViewPagerIndicator android library project in Eclipse. See http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject

然后,你必须在你的项目菜单>项目>属性> Android的去和在图书馆部分,您必须添加一个引用到ViewPagerIndicator库项目。见http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject

Then you have to go in your project to menu > Project > Properties > Android and in the Library section you have to add a reference to the ViewPagerIndicator library project. See http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject

他们只说JDK 5和6的支持,但他们没有说关于JDK 7什么:http://developer.android.com/sdk/requirements.html

They say only JDK 5 and 6 are supported, but they do not say anything about JDK 7: http://developer.android.com/sdk/requirements.html