
android
百万 ● 程序员
致力于为需要的人找到最合适的程序。
努力以最低成本解决实际需求。
专注实用、降低成本、提升效率。
微信号:laopao2345
展开
-
No Activity found to handle Intent { act=android.intent.action.CALL dat=tle:10086 }
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.CALL dat=tle:10086 } at android.app.Instrumentation.checkStartActivityResult(Instrume...原创 2018-08-14 09:22:40 · 7233 阅读 · 2 评论 -
'Request(okhttp3.Request.Builder)' is not public in 'okhttp3.Request'. Cannot be accessed from outsi
使用okhttp(3.11.0)时遇到了编译错误 代码如下: Request request = new Request().Builder().url(“Https://www.baidu.com“).build(); 错误如下: ‘Request(okhttp3.Request.Builder)’ is not public in ‘okhttp3.Request’. Cannot b...原创 2018-08-15 09:41:41 · 11635 阅读 · 4 评论 -
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a vi
android.view.ViewRootImplCalledFromWrongThreadException:Onlytheoriginalthreadthatcreatedaviewhierarchycantouchitsviews.atandroid.view.ViewRootImpl.checkThread(ViewRootImpl.java:6838)atandroid.view.Vie...原创 2018-08-15 13:41:41 · 321 阅读 · 0 评论 -
java.net.SocketTimeoutException: failed to connect to /192.168.1.104 (port 80) after 10000ms
在学习Pull解析xml文件时遇到的错误,代码如下: Log.d(TAG, “构建网络访问”); Request request = new Request.Builder().url(“http://192.168.1.104/get_data.xml“).build(); ...原创 2018-08-15 10:20:16 · 12743 阅读 · 7 评论