Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sat Mar 27, 2021 3:42 pm

I added "Spire.Pdf.Android-FE-2.12.0/lib/Spire.Pdf.Android.jar" in android studio project. The path "Myapplication6/app/libs".

I checked Right Click, "Add as a library", "implementation files('libs\\spire.Pdf.Android.jar')" in "build.gradle(Module:My_Application.app)" and "gradlew clean".

but i always encounter the Error

:app:desugarDebugFileDependencies
../../.gradle/caches/transforms-2/files-2.1/20ebc5e0a78356048a3f41be95d674f8/jetified-Spire.Pdf.Android.jar
com.android.tools.r8.errors.b: Field name '??' cannot be represented in dex format.
Error while dexing
Field name '︱' cannot be represented in dex format

how do i proceed the project?

jack981109
 
Posts: 1
Joined: Thu Mar 18, 2021 11:18 am

Mon Mar 29, 2021 4:04 am

Hello,

Thanks for your inquiry.
Which versions of SDK Build Tools are you using? We are very sorry that our Spire.PDF for Android does not currently support very high versions of SDK Build Tools. We recommend you use this configuration: SDK Build Tools 27, Gradle 4.4 and Gradle plugins 3.1. Please give it a try.

If the issue still exists after trying, please provide us with your project for investigation. You can send it to us via email ([email protected]).

Sincerely,
Elena
E-iceblue support team
User avatar

Elena.Zhang
 
Posts: 279
Joined: Thu Jul 23, 2020 1:18 am

Fri Apr 09, 2021 9:34 am

Hello,

Greetings from E-iceblue!
Has the issue been solved now? Could you please give us some feedback at your convenience?

Sincerely,
Andy
E-iceblue support team
Sincerely,
Andy
E-iceblue support team
User avatar

Andy.Zhou
 
Posts: 483
Joined: Mon Mar 29, 2021 3:03 am

Return to Spire.PDF