android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=XXX:xxxxx }
报错原因分析
1、可能是你连接的设备没有电话应用(一般这种情况很少)
2、没有指定默认的VIEW
3、指定默认的activity中的data设置的scheme与intent.setData(Uri.parase(“你跳转使用的协议”)
今天在添加MQTT依赖库的时候,在构建时提示一下错误:
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
后面根据错误的提示发现可能和工程中build.gradle(: