你好,感谢您的开源,但是我使用这个库出现了这个问题
Hello, thank you for your open source, but I have this problem with this library
java.lang.IllegalAccessException: access to method denied
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at android.support.v4.view.ViewPager.setChildrenDrawingOrderEnabledCompat(ViewPager.java:817)
at android.support.v4.view.ViewPager.setPageTransformer(ViewPager.java:795)
at android.support.v4.view.ViewPager.setPageTransformer(ViewPager.java:769)
at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.setPageTransformer(HorizontalInfiniteCycleViewPager.java:109)
at com.gigamole.infinitecycleviewpager.InfiniteCycleManager.(InfiniteCycleManager.java:143)
at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.init(HorizontalInfiniteCycleViewPager.java:30)
at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.(HorizontalInfiniteCycleViewPager.java:26)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.view.View.inflate(View.java:17465)
at com.ciweek.myapplication.View.View.Fragment.BookListFragment.getContentView(BookListFragment.java:43)
at com.ciweek.myapplication.Base.BaseFragment.onCreateView(BaseFragment.java:20)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2192)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)
at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:758)
at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2363)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2149)
at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2103)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2013)
at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:710)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5045)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
你好,感谢您的开源,但是我使用这个库出现了这个问题 Hello, thank you for your open source, but I have this problem with this library
java.lang.IllegalAccessException: access to method denied at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at android.support.v4.view.ViewPager.setChildrenDrawingOrderEnabledCompat(ViewPager.java:817) at android.support.v4.view.ViewPager.setPageTransformer(ViewPager.java:795) at android.support.v4.view.ViewPager.setPageTransformer(ViewPager.java:769) at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.setPageTransformer(HorizontalInfiniteCycleViewPager.java:109) at com.gigamole.infinitecycleviewpager.InfiniteCycleManager.(InfiniteCycleManager.java:143)
at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.init(HorizontalInfiniteCycleViewPager.java:30)
at com.gigamole.infinitecycleviewpager.HorizontalInfiniteCycleViewPager.(HorizontalInfiniteCycleViewPager.java:26)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.view.View.inflate(View.java:17465)
at com.ciweek.myapplication.View.View.Fragment.BookListFragment.getContentView(BookListFragment.java:43)
at com.ciweek.myapplication.Base.BaseFragment.onCreateView(BaseFragment.java:20)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2192)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)
at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:758)
at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2363)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2149)
at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2103)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2013)
at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:710)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5045)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)