0

我在我的 android 应用程序中使用 GraphView 并将包包含到我的项目中工作得很好。但是,由于 Eclipse 没有解析 android.view.ScaleGestureDetector,所以缺少一些东西。

有一个打印屏幕http://www.mediafire.com/i/?sc8j7r341u126ak

4

2 回答 2

2

很抱歉这个迟到的答案,但我刚刚在我的项目中解决了这个问题。

其实解决方案上写了一点警告,就在所有错误下面: Attribute minSdkVersion (8) is higher than the project target API level (7)

我不得不更改 Project > Properties > Android 并选择 Google APIs Level 8 而不是 Level 7。

稍后构建,我所有的错误都消失了。希望这个答案会对某人有所帮助。

于 2012-11-21T19:40:59.187 回答
0

android.view.ScaleGestureDetector supported from API LEVEL 8.make sure you are using Sdk version 8 or greater then 8 if not using then set in manifest as:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mkyong.android"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk android:minSdkVersion="8" />
于 2012-05-28T15:52:48.287 回答