Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
370 views
in Technique[技术] by (71.8m points)

android - WARN/ActivityManager(5038): Permission denied: checkComponentPermission

From one application I am (broadcast) sending an intent to a broadcastreceiver of another one. I am getting the error:

WARN/ActivityManager(5038): Permission denied: checkComponentPermission
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You need to add permission under your manifest file add these

<receiver android:name=".YourBroadCastReceiverName" android:exported="true"></receiver>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...