Expected Android API level 21+ but was 19 while using Retrofit 2, OkHttp3
from--https://stackoverflow.com/questions/58679774/expected-android-api-level-21-but-was-19-while-using-retrofit-2-okhttp3 Ask Question Asked 3 years, 10 months ago Modified 3 years, 6 months ago Viewed 7k times 2 I'm using Retrofit 2 and OkHttp3 to data from server and I get error while using Min_SDK 17 and my device's API is 17 also I tried this answer :How to fix Expect…
How to fix Expected Android API level 21+ but was 19 in Android
from--https://stackoverflow.com/questions/56818660/how-to-fix-expected-android-api-level-21-but-was-19-in-android Ask Question Asked 4 years, 2 months ago Modified 2 years, 11 months ago Viewed 37k times 40 In my application i want get data from server, for get connect to server i used Retrofit, OkHttp. But when running application, show me force close error. In and…
from--https://www.freesion.com/article/1279640983/ 报错截图:报错的原因是项目代码做了eslint的规范检查,规定了换行需要以unix系统的换行方式,Linux下只有换行LF,而在window下换行默认是CRLF,在window系统下git pull项目的时候,git会默认将文件中的LF换行方式转为系统默认的CRLF换行格式,才会导致用vscode打开时,所有的文件都是CRLF,这样代码提交后,会出现编译问题(服务端为linux系统)这种差异是因为系统的不同而存在,具体差异: 差异: Windows系统下文本文件的换行符是: 回车 换行CR/LF即 rn或^Mn linux/unix系统下文本文件的换行符是:换行LF即 n Mac OS系统下文本文件的换行符:回车CR即 r或^M…