-2

I have been trying to use tooltip in android app

referring https://github.com/nhaarman/supertooltips.

But I cant make the project run since it requires gradle dependency.

As soon as I import the project and try to run it it shows error.

How to compile it so that I can use it in my project

Ravi Sharma
  • 753
  • 1
  • 7
  • 13
  • are you using eclipse? – Behnam Nov 12 '14 at 05:45
  • You should post the error. – ipavl Nov 12 '14 at 05:47
  • java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.ryanharter.android.tooltips.sample/com.ryanharter.android.tooltips.sample.MyActivity}: java.lang.ClassNotFoundException: Didn't find class "com.ryanharter.android.tooltips.sample.MyActivity" on path: DexPathList[[zip file "/data/app/com.ryanharter.android.tooltips.sample-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ryanharter.android.tooltips.sample-1, /system/lib]] – Ravi Sharma Nov 12 '14 at 05:51

1 Answers1

0

OK. Since you are using eclipse, you need to install Gradle plugin. There is an old nice tutorial here.

Here's the official spring guide and source code to Gradle plugin.

But particularly, if you are using eclipse Luna, you might want to review this question.

Community
  • 1
  • 1
Behnam
  • 6,510
  • 6
  • 35
  • 65