java.lang.NoSuchMethodError: com.dataart.kvarivoda.myapplication.api.PlacesApi.getNearbyPlaces(Ljava/lang/String;Ljava/lang/String;I)Lretrofit2/Call;

Stack Overflow | zkvarz | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unit testing: NoSuchMethodError at mock retrofit get request

    Stack Overflow | 6 months ago | zkvarz
    java.lang.NoSuchMethodError: com.dataart.kvarivoda.myapplication.api.PlacesApi.getNearbyPlaces(Ljava/lang/String;Ljava/lang/String;I)Lretrofit2/Call;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.dataart.kvarivoda.myapplication.api.PlacesApi.getNearbyPlaces(Ljava/lang/String;Ljava/lang/String;I)Lretrofit2/Call;

      at GetPlacesTest.testLogin()
    2. Unknown
      GetPlacesTest.testLogin
      1. GetPlacesTest.testLogin(GetPlacesTest.java:61)
      1 frame