java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #1) for method NetworkService.postLogin


Solutions on the web1

Solution icon of stackoverflow
No Retrofit annotation found. (parameter #1) for method NetworkService.postLogin

Stack trace

java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #1)
                 for method NetworkService.postLogin
	at com.example.ab.MainActivity.networkServiceModule(MainActivity.java:68)
	at com.example.ab.MainActivity$1.onClick(MainActivity.java:50)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.