daimajia / AndroidViewHover

An elegant way to show your menu or messages.
3.21k stars 722 forks source link

Error when import using Eclipse #1

Closed android12345 closed 10 years ago

android12345 commented 10 years ago

mSampleLayout.addChildAppearAnimator(hover, R.id.heart, Techniques.FlipInX);在addChildAppearAnimator方法中都提示:The method addChildAppearAnimator(View, int, Techniques) from the type BlurLayout refers to the missing type Techniques。 好像说缺失Techniques类型,但是确实我什么也没有改呀。

daimajia commented 10 years ago

Have you put AndroidViewAnimation-1.1.2.jar to your libs directory?

https://github.com/daimajia/AndroidViewAnimations/releases/download/v1.1.2/AndroidViewAnimations-1.1.2.jar

android12345 commented 10 years ago

I put it,AndroidViewAnimation-1.1.2.jar don't have YoYo ,so I pack a AndroidViewAnimation-1.1.3jar for me. also have the The method addChildAppearAnimator(View, int, Techniques) from the type BlurLayout refers to the missing type Techniques problem .so what?

daimajia commented 10 years ago

I tested the jar several minutes ago, it works fine.

Please ensure that you have import YoYo and Techniques.

import com.daimajia.androidanimations.library.Techniques;
import com.daimajia.androidanimations.library.YoYo;
android12345 commented 10 years ago

the AndroidViewAnimation-1.1.2.jar i Unzip used ziptools, it Contains .java not .class I think its the reason. so I have a try again

daimajia commented 10 years ago

I'm try to fixing it. please wait.

daimajia commented 10 years ago

Hi, I uploaded a new AndroidViewAnimation jar:

https://github.com/daimajia/AndroidViewAnimations/releases/download/v1.1.2/AndroidViewAnimations-1.1.2.jar

Please download this, and try to compile again.

BTW, please re-download https://github.com/daimajia/AndroidViewHover/releases/download/v1.0.1/AndroidViewHover-1.0.1.jar AndoridViewHover.jar, because I found that they have same problems when I compiled.

android12345 commented 10 years ago

I Resolved all the problems,but the AndroidViewHover-1.0.1.jar i put in my libs/ can't inuse,so I use the AndriodViewHover Source in my project。all the problems were resolved. thank you very much.

daimajia commented 10 years ago

hi, please retry https://github.com/daimajia/AndroidViewHover/releases/download/v1.0.1/AndroidViewHover-1.0.1.jar AndroidViewHover jar right now, I updated this jar 2 hours ago. I made a mistake to compile before.