一、先引入依賴,客戶端和服務端用的都是同一個依賴netty-all。 Android Studio中Gradle配置: compile 'io.netty:netty-all:5.0.0.Alpha2'.
確定! 回上一頁