Proguard - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Proguard

Proguard 2 weeks 6 days ago #13425

  • deive.i
  • deive.i's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
I am unable to get proguard working.
I have seen www.radaeepdf.com/forum/Android-development/3769-proguard-rules but this still is not working.

Something in the native code is being affected so I am unable to work out why - but I have created a simple Android Studio project that demos the problem. The attachment has this source (without the PDF module as this is too big) with the logcat output.
When debugging it *seems* like it is "this.m_vpage.vCacheStart1(this.m_thread_cache);" from PDFPageView:342 onDraw(Canvas)

We would really like to turn on ProGuard, but this is stopping us.
Attachments:

Please Log in or Create an account to join the conversation.

Proguard 2 weeks 6 days ago #13428

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 754
  • Karma: 20
  • Thank you received: 55
We have checked your attachment you did not add
-keep class com.radaee.** { *; }

For completeness, the rules are:
-keep class com.radaee.** { *; }
-keepclasseswithmembernames class com.radaee.** { *; }
-keepdirectories <your package name>
The following user(s) said Thank You: deive.i

Please Log in or Create an account to join the conversation.

Proguard 2 weeks 6 days ago #13429

  • deive.i
  • deive.i's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Can't believe I missed that out, I'm really sorry!
This is working fine now. Thank you!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum