Code Monkey home page Code Monkey logo

Comments (4)

JakeWharton avatar JakeWharton commented on June 15, 2024

You have to be using the r4 or r5 compat library. The isFakeDragging method
was not present in the earlier revisions. Check your SDK Manager for
updates.


Jake Wharton
http://about.me/jakewharton

On Thu, Dec 15, 2011 at 3:04 PM, Leo Liberman <
[email protected]

wrote:

java.lang.NoSuchMethodError:
android.support.v4.view.ViewPager.isFakeDragging
at
com.viewpagerindicator.TitlePageIndicator.onTouchEvent(TitlePageIndicator.java:480)
at android.view.View.dispatchTouchEvent(View.java:3932)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1784)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1157)
at android.app.Activity.dispatchTouchEvent(Activity.java:2228)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1759)
at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2340)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1980)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:4293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
at dalvik.system.NativeStart.main(Native Method)

Is there a minimum API version that may be causing this?


Reply to this email directly or view it on GitHub:
#37

from viewpagerindicator.

leowhiterussian avatar leowhiterussian commented on June 15, 2024

I am using android-support-v4.jar, is that what you are referring to? I don't have any updates in sdk manager

from viewpagerindicator.

JakeWharton avatar JakeWharton commented on June 15, 2024

Yes but there are different revisions to the v4 compat library. Revision 4
added that method to the ViewPager class. If it is not present then you are
using revision 3.

http://developer.android.com/sdk/compatibility-library.html

You can use the one in the project's libs/ folder to ensure you have the
right version.


Jake Wharton
http://about.me/jakewharton

On Thu, Dec 15, 2011 at 3:26 PM, Leo Liberman <
[email protected]

wrote:

I am using android-support-v4.jar, is that what you are referring to? I
don't have any updates in sdk manager


Reply to this email directly or view it on GitHub:

#37 (comment)

from viewpagerindicator.

leowhiterussian avatar leowhiterussian commented on June 15, 2024

Ah ic, ok thanks Jake!

from viewpagerindicator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.