问题描述
- No Activity found android.intent.action.CALL
-
Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.CALL dat=tel:xxxxx }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1727)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1511)
at android.app.Activity.startActivityForResult(Activity.java:3424)
at android.app.Activity.startActivityForResult(Activity.java:3385)
at com.hw.sotv.home.main.activity.call.VipActivity.joinOnClick(VipActivity.java:101)
... 15 more
解决方案
androidmanifest中设置了没,activity名写对了没
解决方案二:
看看manifest.xml文件中是否配置了以下权限
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
时间: 2024-11-03 21:37:40