dependencies {
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.squareup.picasso:picasso:2.71828'
}
确保在后端服务器设置了正确的域名、端口和路径,并且可以通过浏览器访问到它们。
使用类似以下代码的方法在后端服务器上测试连接:
上一篇:Androidstudio上使用BingMaps时遇到“Cannotresolvesymbol'microsoft'”错误提示。
下一篇:AndroidStudio上无法打开模拟器,显示“Notapplicableformain.dartconfiguration”