5

I am working on a project , where i need to render pdf on my device screen.

For that i am using mupdf library.

I have included it in my project.

Now from library project , i need to use MuPDFActivity.class through intent for showing pdf.

But i am getting activitynotfound exception.

I have tried of including library's activity in my manifest.

        <activity
        android:name="com.example.xrgpc.mupdf.MuPDFActivity"
        android:label="@string/app_name">
    </activity>

But i am getting same error. Will some one guide me what's i am doing wrong.

Jay Vyas
  • 2,674
  • 5
  • 27
  • 58

1 Answers1

0

check your library minSdk, if your library minSdk smaller then app you can not declaring at AndroidManifest.xml

And change if you import appcompat Activity to AppCompatActivity

ali ozkara
  • 5,425
  • 2
  • 27
  • 24