java.lang.IllegalArgumentException

No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12822

  • via Stack Overflow by rost_proz
    , 1 year ago
    No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo
  • No Retrofit annotation found. (parameter #1) for method NetworkService.postLogin
  • RestAppApiInterface.newOrder: No Retrofit annotation found. (parameter #1)
  • Stack trace

    • java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:695) at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:686) at retrofit2.ServiceMethod$Builder.parameterError(ServiceMethod.java:704) at retrofit2.ServiceMethod$Builder.parseParameter(ServiceMethod.java:343) at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:201) at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166) at retrofit2.Retrofit$1.invoke(Retrofit.java:145) at $Proxy1.getFeaturedVideo(Native Method) at com.example.vid_me_app.FeaturedFragment.getVideos(FeaturedFragment.java:60) at com.example.vid_me_app.FeaturedFragment.onActivityCreated(FeaturedFragment.java:47) at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1983) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617) at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570) at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141) at android.support.v4.view.ViewPager.populate(ViewPager.java:1177) at android.support.v4.view.ViewPager.populate(ViewPager.java:1025) at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1545) at android.view.View.measure(View.java:15696) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851) at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668) at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735) at android.view.View.measure(View.java:15696) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851) at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135) at android.view.View.measure(View.java:15696) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:15696) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851) at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) at android.view.View.measure(View.java:15696) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:15696) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851) at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2261) at android.view.View.measure(View.java:15696) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2225) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1290) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1527) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1190) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4860) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:766) at android.view.Choreographer.doCallbacks(Choreographer.java:575) at android.view.Choreographer.doFrame(Choreographer.java:542) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:751)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 1 year ago
    Unknown user
    Once, 1 year ago
    3 times, 1 month ago
    2 times, 4 months ago
    Unknown user
    Once, 11 months ago
    4 more bugmates