-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library not working for me #11
Comments
What is the Android version of your test device? The library is not supposed to work below ICS. |
|
Can you try minSdkVersion="14" and also can you provide more details about your test device. |
Yes you were right. Library worked for 14 and above and i tried two samples
The second one didint worked for me with following exception 04-28 16:50:19.206: E/AndroidRuntime(15064): FATAL EXCEPTION: main |
I tried to use this library in my project. I added your library dependency and tried to use the following code
new BounceAnimation(yourView)
.setBounceDistance(50)
.setBounces(5)
.setDuration(500)
.animate();
with my imageview but it is giving me following error
04-28 12:07:50.211: E/AndroidRuntime(487): FATAL EXCEPTION: main
04-28 12:07:50.211: E/AndroidRuntime(487): java.lang.NoSuchFieldError: android.view.View.SCALE_X
04-28 12:07:50.211: E/AndroidRuntime(487): at com.easyandroidanimations.library.ScaleInAnimation.getAnimatorSet(ScaleInAnimation.java:48)
04-28 12:07:50.211: E/AndroidRuntime(487): at com.easyandroidanimations.library.ParallelAnimator.animate(ParallelAnimator.java:58)
04-28 12:07:50.211: E/AndroidRuntime(487): at com.example.nanocarnavigator.MainActivity.onCreate(MainActivity.java:26)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.app.Activity.performCreate(Activity.java:4397)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1779)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.app.ActivityThread.access$500(ActivityThread.java:122)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.os.Handler.dispatchMessage(Handler.java:99)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.os.Looper.loop(Looper.java:132)
04-28 12:07:50.211: E/AndroidRuntime(487): at android.app.ActivityThread.main(ActivityThread.java:4123)
04-28 12:07:50.211: E/AndroidRuntime(487): at java.lang.reflect.Method.invokeNative(Native Method)
04-28 12:07:50.211: E/AndroidRuntime(487): at java.lang.reflect.Method.invoke(Method.java:491)
04-28 12:07:50.211: E/AndroidRuntime(487): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
04-28 12:07:50.211: E/AndroidRuntime(487): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
04-28 12:07:50.211: E/AndroidRuntime(487): at dalvik.system.NativeStart.main(Native Method)
Here is xml of mainactivity
Can you help me why it is giving exception?
The text was updated successfully, but these errors were encountered: