简体   繁体   English

Android Nougat(7.0)发生I / O失败

[英]I/O failure with Android Nougat (7.0)

Im getting this error only with the android version 7.0 using Parse Android SDK. 我只在使用Parse Android SDK的android 7.0版中收到此错误。

With <7 and 7.1.1 its working nice, but with 7.0 the error is just I/O failure retrieved but the query exception 使用<7和7.1.1可以正常工作,但是使用7.0时,错误只是检索到I/O failure但是查询异常

Tried with parse-android 1.14.0 & 1.15.6 . 尝试使用parse-android 1.14.01.15.6

I have internet, because displaying a webview is working ok. 我有互联网,因为显示网络视图可以正常工作。

Any idea? 任何想法?

My parse query: 我的解析查询:

public static void getPatrocinadores(final APIResponseListener listener) {
ParseQuery<Patrocinador> parseQuery = ParseQuery.getQuery(API_PATROCINADOR);
parseQuery.whereEqualTo("visible", true);
parseQuery.findInBackground(new FindCallback<Patrocinador>() {
    @Override
    public void done(List<Patrocinador> objects, ParseException e) {
        if (e == null) {
            listener.onSuccess(objects);
        } else {
            listener.onError(e);
        }
    }
});

Interceptor log: 拦截器日志:

D/OkHttp: User-Agent: Parse Android SDK 1.15.6 (com.prueba.package/3) API Level 24
D/OkHttp: <-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: Handshake failed
D/OkHttp: --> POST https://prueba.parse.com/1/classes/Patrocinador http/1.1

My solution: use the version 1.13.1 我的解决方案:使用版本1.13.1

If you dont want to change the version another solution here: 如果您不想更改版本,请在此处使用另一种解决方案:

Android 7 dosnt allow my letsencrypt SSL Android 7 Dosnt允许我的letsencrypt SSL

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Android Nougat 7.0上录制通话 - record call on Android nougat 7.0 如何访问Android 7.0或更高版本的Nougat中的进程? - How to access to the processes in Android 7.0 or above Nougat? Job Scheduler在Android 7.0(Nougat)中不定期出现 - Job Scheduler Not recurring in periodic in Android 7.0 (Nougat) Android N 中的定期作业(Nougat,7.0) - Periodic Job in Android N (Nougat, 7.0) android-在牛轧糖中拖放后,RecyclerView项不可单击(Android 7.0) - android - RecyclerView item not clickable after drag and drop in Nougat (Android 7.0) Android Geocoder无法使用Android Nougat 7.0在Nexus 6P中运行 - Android Geocoder not working in Nexus 6P with Android Nougat 7.0 Android 警报管理器 setExactAndAllowWhileIdle() 在处于打盹模式的 Android 7.0 Nougat 中不起作用 - Android Alarm Manager setExactAndAllowWhileIdle() not working in Android 7.0 Nougat in Doze mode Web视图上的Android Open HTML文件Android Nougat(7.0) - Android Open HTML file on web view Android Nougat (7.0) 当应用程序处于前台时,检测Android 7.0 Nougat上的连接更改 - Detect connectivity changes on Android 7.0 Nougat when app is in foreground Z顺序在android 7.0(牛轧糖)上的活动过渡动画中发生了变化? - Z-order changed in activity transition animations on android 7.0 (nougat)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM