PDFNetC loadLibrary error: Expected arm or x86 or arm64, found cpu_info: abi: x86

Hey,

So, I've recently updated to the latest version of PDFTron, I compiled and went to read a PDF file. I was presented with this error:

Reading a NULL string not supported here.
03-10 17:55:59.525 3723-3723/ie.ecourtteoranta.ecourt E/PDFNet: PDFNetC loadLibrary error: Expected arm or x86 or arm64, found cpu_info: abi: x86
                                                                processor : 0
                                                                vendor_id : genuineintel
                                                                cpu family : 6
                                                                model : 55
                                                                model name : intel(r) atom(tm) cpu z3745 @ 1.33ghz
                                                                stepping : 8
                                                                microcode : 0x833
                                                                cpu mhz : 1862.000
                                                                cache size : 1024 kb
                                                                physical id : 0
                                                                siblings : 4
                                                                core id : 0
                                                                cpu cores : 4
                                                                apicid : 0
                                                                initial apicid : 0
                                                                fpu : yes
                                                                fpu_exception : yes
                                                                cpuid level : 11
                                                                wp : yes
                                                                flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
                                                                bogomips : 2666.77
                                                                clflush size : 64
                                                                cache_alignment : 64
                                                                address sizes : 36 bits physical, 48 bits virtual
                                                                power management:

Any ideas as to what is causing it?

Emmett

This typically means the library for the desired is missing.

Could you please try the steps in readme.html section 3 “How to build and run the samples with Android Studio”

If that doesn’t help, do the SDK sample projects work, after calling “gradlew.bat setupSamples”

Ok Ryan, thanks I'll try that and get back to you