Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Proguard 6 years 2 months ago #13425

  • deive.i
  • deive.i's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 6 years 2 months ago #13428

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
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 6 years 2 months ago #13429

  • deive.i
  • deive.i's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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