Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

Retrofit2Demo

> 包管理
Open source

Retrofit2Demo 关于Retrofit2的使用教程见我的博客 《你真的会用Retrofit2吗?Retrofit2完全教程》 Retrofit2 源码位置 client/src/main/java/com/github/ikidou/ 配套 Server 运行方式:找…

393 stars0 likes2 views
WebsiteGitHub

About

Retrofit2Demo 关于Retrofit2的使用教程见我的博客 《你真的会用Retrofit2吗?Retrofit2完全教程》 Retrofit2 源码位置 client/src/main/java/com/github/ikidou/ 配套 Server 运行方式:找…

Retrofit2Demo

关于Retrofit2的使用教程见我的博客 《你真的会用Retrofit2吗?Retrofit2完全教程》

Retrofit2 源码位置 client/src/main/java/com/github/ikidou/

配套 Server 运行方式:找到server/src/main/java/com/github/ikidou/RESTServer.java 直接右键运行即可

Android Studio 用户需要注意:

该项目中没有的配置文件,也不是Android项目,所以打开后可能会报错,请按下面的步骤解决:

  1. File -> Project Structure (Ctrl+Alt+Shift+S),并保证配置符合下图的要求后保存。

  2. 打开右侧的Gradle面板,刷新项目依赖。

解决 找不到或无法加载主类

  • Android Studio: 在运行之前先Build
  • Idea : 请按下图的配置修改(适用于所有标准Java Gradle项目)

License

Copyright 2016 ikidou

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javacustom-adaptercustom-convertergradlegson

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image