PdfBox-Android icon indicating copy to clipboard operation
PdfBox-Android copied to clipboard

kotlin importing issue

Open meilluer opened this issue 7 months ago • 1 comments

Describe the bug Importing dosent work

To reproduce implementation ("com.tom_roush:pdfbox-android:2.0.27.0")

import com.tom_roush.pdfbox.pdmodel.PDDocument import com.tom_roush.pdfbox.text.PDFTextStripper PDF example Link or attach a PDF demonstrating the issue

Expected behavior no errors

Actual behavior ERROR: Unresolved reference 'tom_roush'.

Environment details:

  • PdfBox-Android version: [e.g. 2.0.27.0]
  • Android API version: [e.g. API 33]

Additional context Add any other context about the problem here.

meilluer avatar Jun 20 '25 06:06 meilluer

dependencies {
    implementation 'com.tom-roush:pdfbox-android:2.0.27.0'
}

Its actually hyphen(-) not underscore(_). I also got this problem initially as chatgpt was suggesting it wrong :D

theGBguy avatar Jul 16 '25 03:07 theGBguy