https://github.com/square/retrofit 下载 最新jar包
Download
Download the latest JAR or grab from Maven central at the coordinates com.squareup.retrofit2:retrofit:2.5.0
.
Snapshots of the development version are available in Sonatype's snapshots
repository.
Retrofit requires at minimum Java 7 or Android 2.3.
导入jar包 就能使用了