Y
Y
ywitodenasuby2019-02-09 22:13:06
Android
ywitodenasuby, 2019-02-09 22:13:06

Why did the No Activity found to handle Intent error appear?

I open the project today and an error appears. I don't understand where she came from. Everything was fine before. How to fix it?
On the emulator with android 4.4 it works fine, but on 5.1 there is an error !!!
5c5f261e929f3281920082.png5c5f26246aced541747081.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Zagaevsky, 2019-02-09
@ywitodenasuby

Because there is no application on this emulator that can process such an intent. You need to look at the list of activities that can process the intent. If it is empty, then show the user the appropriate message. Also, applications containing such activities can be disabled, so you need to make sure that there is at least one element with providerInfo.enabled == true. Also, there are Chinese people who will provide this field incorrectly, so it is better to wrap a call to a third-party application with such an intent in try..catch anyway.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question