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.
Wed Mar 23, 2022 5:55 pm
Hi. I am unable to add dependency to my android project.
- Code: Select all
allprojects {
repositories {
...
maven {
url "https://repo.e-iceblue.com/nexus/content/groups/public"
}
}
dependencies {
...
implementation group: 'e-iceblue', name: 'spire.pdf', version: '4.1.0'
}
In logs I got
- Code: Select all
Resource missing. [HTTP GET: https://repo.e-iceblue.com/nexus/content/groups/public/e-iceblue/spire.pdf/4.1.0/spire.pdf-4.1.0.pom
What am I doing wrong?
-

hydrol.777
-
- Posts: 3
- Joined: Wed Mar 23, 2022 5:48 pm
Wed Mar 23, 2022 6:51 pm
It works with 5.3.1 but now I got another error when trying to make project:
com.android.tools.r8.internal.YI0: Method name 'spr??�' in class 'com.spire.pdf.packages.sprvt' cannot be represented in dex format.
-

hydrol.777
-
- Posts: 3
- Joined: Wed Mar 23, 2022 5:48 pm
Thu Mar 24, 2022 5:48 am
Hello,
Thank you for your inquiry.
Kindly note that if you use our Spire.PDF in an Android project, you need to use the Android version of the jar package, the latest version is
Spire.PDF for Android via Java Version: 4.1.0. Please refer to the code below.
- Code: Select all
implementation group: 'e-iceblue', name: 'spire.pdf.android', version: '4.1.0'
Sincerely,
Annika
E-iceblue support team
-


Annika.Zhou
-
- Posts: 1657
- Joined: Wed Apr 07, 2021 2:50 am