android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.GET_CONTENT typ=application/pdf }

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Rasel

Your package name in the manifest is as com.google.android.gm and activity name as com.android.mail.compose.ComposeActivity, making a mismatch between the package and activity name. Your activity class name should start with the package name.

Solutions on the web

via GitHub by skarempudi
, 1 year ago
No Activity found to handle Intent { act=android.intent.action.GET_CONTENT typ=application/pdf }
via GitHub by renard314
, 2 years ago
No Activity found to handle Intent { act=android.speech.tts.engine.CHECK_TTS_DATA }
via Stack Overflow by Kyle Brooks
, 2 years ago
No Activity found to handle Intent { act=com.example.policealert.ChangeAddressFromAddressButton }
via Stack Overflow by Unknown author, 2 years ago
No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details?id=com.example.panaceatechnologysolutions.farhansfoursquareapp&referrer=utm_source=foursquare-android-oauth&utm_term=CLIENT_ID }
via GitHub by SlappyHours
, 1 year ago
No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://org.thoughtcrime.provider.securesms/part/50 typ=audio/x-wav flg=0x1 }
via GitHub by alexeyvasilyev
, 2 years ago
No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details?id=com.mypackage }
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.GET_CONTENT typ=application/pdf }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1878)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1545)
at android.app.Activity.startActivityForResult(Activity.java:4283)
at com.github.barteksc.sample.PDFViewActivity.pickFile(PDFViewActivity.java:66)
at com.github.barteksc.sample.PDFViewActivity_.onOptionsItemSelected(PDFViewActivity_.java:121)
at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:189)
at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)
at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:811)
at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:958)
at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:948)
at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:139)
at android.view.View.performClick(View.java:5702)
at android.widget.TextView.performClick(TextView.java:10896)
at android.view.View$PerformClick.run(View.java:22546)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

Once, 1 month ago
17 times, 4 months ago
2 times, 6 months ago
3 times, 6 months ago
Once, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.