- Posts: 7
- Thank you received: 2
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
URGENT! Crash on release Version
IP: 88.130.51.200
7 years 5 months ago #14169
by Evalarm
URGENT! Crash on release Version was created by Evalarm
Hi, currently I have an problem on my release version. As soon I build an release apk I cant more open an PDF file.
AS soon I run my application on debuge its working well.
Following I got from logcat:
AS soon I run my application on debuge its working well.
Following I got from logcat:
Code:
10-25 00:15:24.871 8764-8764/? A/art: art/runtime/thread.cc:1116] Throwing new exception 'no non-static method "Lcom/radaee/view/p;.Dealloc(J)V"' with unexpected pending exception: java.lang.NoSuchMethodError: no non-static method "Lcom/radaee/view/p;.Render(J)V"
10-25 00:15:24.871 8764-8764/? A/art: art/runtime/thread.cc:1116] at long com.radaee.pdf.VNPage.draw(long, com.radaee.pdf.VNPage$a, long, int, int) (VNPage.java:-2)
10-25 00:15:24.871 8764-8764/? A/art: art/runtime/thread.cc:1116] at long com.radaee.pdf.VNPage.a(long, com.radaee.pdf.VNPage$a, com.radaee.pdf.BMP, int, int) (VNPage.java:55)
10-25 00:15:24.881 8764-8764/? A/art: art/runtime/thread.cc:1116] at void com.radaee.view.n.a(com.radaee.pdf.VNPage$a, com.radaee.pdf.BMP, int, int) (VPage.java:73)
10-25 00:15:24.881 8764-8764/? A/art: art/runtime/thread.cc:1116] at void com.radaee.view.a.b(android.graphics.Canvas, int, int) (PDFLayout.java:211)
10-25 00:15:24.881 8764-8764/? A/art: art/runtime/thread.cc:1116] at void com.radaee.view.a.a(android.graphics.Canvas, boolean) (PDFLayout.java:281)
10-25 00:15:24.881 8764-8764/? A/art: art/runtime/thread.cc:1116] at void com.radaee.reader.PDFLayoutView.onDraw(android.graphics.Canvas) (PDFLayoutView.java:604)
10-25 00:15:24.881 8764-8764/? A/art: art/runtime/thread.cc:1116] at void android.view.View.draw(android.graphics.Canvas) (View.java:16186)
10-25 00:15:24.881 8764-8764/? A/art: art/runtime/thread.cc:1116] at void android.view.View.updateDisplayListIfDirty() (View.java:15109)
10-25 00:15:24.881 8764-8764/? A/art: art/runtime/thread.cc:1116] at android.view.RenderNode android.view.View.getDisplayList() (View.java:15132)
IP: 146.241.44.220
7 years 5 months ago #14170
by support
Replied by support on topic URGENT! Crash on release Version
I think you shall double check the proguard configuration.
IP: 88.130.51.217
7 years 4 months ago #14173
by Evalarm
Replied by Evalarm on topic URGENT! Crash on release Version
Do I need to keep some classes of your lib? There is no information about it from radaeepdf.
IP: 88.130.51.217
7 years 4 months ago #14174
by Evalarm
Replied by Evalarm on topic URGENT! Crash on release Version
Ok after Adding following to my proguard it works:
#PDF Lib
-keep class com.radaee.** { *; }
-keepclasseswithmembernames class com.radaee.** { *; }
-keepdirectories com.gro.......
is it complettly?
#PDF Lib
-keep class com.radaee.** { *; }
-keepclasseswithmembernames class com.radaee.** { *; }
-keepdirectories com.gro.......
is it complettly?
IP: 37.183.44.177
7 years 4 months ago #14175
by support
IP: 88.130.51.217
7 years 4 months ago - 7 years 4 months ago #14176
by Evalarm
Replied by Evalarm on topic URGENT! Crash on release Version
Now I got sometimes an error on trying open PDF from Stream:
#00 pc 0012565b /data/app/com.groupkom.evalarm.prod-84R6CNL5uphH45VLdaIngg==/lib/x86/librdpdf.so
#01 pc 0002f577 /data/app/com.groupkom.evalarm.prod-84R6CNL5uphH45VLdaIngg==/lib/x86/librdpdf.so (Java_com_radaee_pdf_Document_getPageCount+39)
#02 pc 00070ce2 /data/app/com.groupkom.evalarm.prod-84R6CNL5uphH45VLdaIngg==/oat/x86/base.odex (offset 0x38000)
Other Device
#08 pc 0000000000073c08 /data/app/com.groupkom.evalarm.prod-gQUbIXLSsYicvM-f2DCwuQ==/lib/arm64/librdpdf.so
#09 pc 0000000000055b48 /data/app/com.groupkom.evalarm.prod-gQUbIXLSsYicvM-f2DCwuQ==/lib/arm64/librdpdf.so (Java_com_radaee_pdf_Document_openStream+432)
#10 pc 0000000000070db8 /data/app/com.groupkom.evalarm.prod-gQUbIXLSsYicvM-f2DCwuQ==/oat/arm64/base.odex
I am using latest 3.15.3 Version
#00 pc 0012565b /data/app/com.groupkom.evalarm.prod-84R6CNL5uphH45VLdaIngg==/lib/x86/librdpdf.so
#01 pc 0002f577 /data/app/com.groupkom.evalarm.prod-84R6CNL5uphH45VLdaIngg==/lib/x86/librdpdf.so (Java_com_radaee_pdf_Document_getPageCount+39)
#02 pc 00070ce2 /data/app/com.groupkom.evalarm.prod-84R6CNL5uphH45VLdaIngg==/oat/x86/base.odex (offset 0x38000)
Other Device
#08 pc 0000000000073c08 /data/app/com.groupkom.evalarm.prod-gQUbIXLSsYicvM-f2DCwuQ==/lib/arm64/librdpdf.so
#09 pc 0000000000055b48 /data/app/com.groupkom.evalarm.prod-gQUbIXLSsYicvM-f2DCwuQ==/lib/arm64/librdpdf.so (Java_com_radaee_pdf_Document_openStream+432)
#10 pc 0000000000070db8 /data/app/com.groupkom.evalarm.prod-gQUbIXLSsYicvM-f2DCwuQ==/oat/arm64/base.odex
I am using latest 3.15.3 Version
Last edit: 7 years 4 months ago by Evalarm.
Time to create page: 0.373 seconds