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

Can't build and run after AGP upgrade

Open AndroidDeveloperLB opened this issue 2 years ago • 0 comments

Describe the bug I tried to clone, import, upgrade AGP according to the IDE, and build. Can't build.

To reproduce Clone, import, upgrade AGP according to the IDE, and build.

PDF example None

Expected behavior Be able to build, and run the sample.

Actual behavior It shows an error:

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\User\Desktop\PdfBox-Android\library\build.gradle' line: 69

* What went wrong:
A problem occurred configuring project ':library'.
> Could not create task ':library:testDebugUnitTest'.
   > Could not set unknown property 'enabled' for Report html of type org.gradle.api.reporting.internal.TaskGeneratedSingleDirectoryReport.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

Environment details:

  • PdfBox-Android version: [e.g. 2.0.27.0] 2.0.27.1-SNAPSHOT
  • Android API version: [e.g. API 33] Doesn't matter.

Additional context Attached project and video here: PdfBox-Android.zip

This sample and library should get updated. I've seen even jcenter still there...

AndroidDeveloperLB avatar Nov 08 '23 23:11 AndroidDeveloperLB