# VERY IMPORTANT - Prevent decompiling thunkable apk

**URL:** <https://community.thunkable.com/t/very-important-prevent-decompiling-thunkable-apk/60118>\
**Category:** Questions about Thunkable X\
**Tags:** thunkablelive, thunkchat, apk, thunkable-bugs\
**Created:** [December 10, 2018, 11:25am UTC](https://community.thunkable.com/t/very-important-prevent-decompiling-thunkable-apk/60118 "2018-12-10T11:25:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bro](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bro/32/11329_2.png) [@Bro](https://community.thunkable.com/u/Bro)\
**Post date:** [December 10, 2018, 11:25am UTC](https://community.thunkable.com/t/very-important-prevent-decompiling-thunkable-apk/60118/1 "2018-12-10T11:25:23Z")

</div>

_ **Hi Thunkers,** _  
_\*\*is it possible to Prevent Decompiling “thunkable made” APKs. \*\*_  
_ **if not i think it will be useless if someone get a pro version of thunkable because anyone can decompile the apk and use it for there purposes.** _

And i found this answer on stack overflow -

[Proguard](http://developer.android.com/tools/help/proguard.html) is a tool that will help you obfusate your code. This comes as part of your android tools and you just need to activate it. [This](http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3a%20blogspot/hsDu%20%28Android%20Developers%20Blog%29) link and [this](http://proguard.sourceforge.net/index.html#) will help further.

Proguard’s default configuration (in proguard.cfg) will be enough to sufficiently obfuscate your code. However you might want to tweak your proguard configuration when you have methods/classes that are being dynamically accessed.

1. For instance, accessing classes/methods with Reflection will need you to have the code to be intact. You might sometimes experience ClassNotFoundException if proguard obfuscates it.
2. If you have classes that are being accessed in the AndroidManifest/ Layout Files, you should prevent proguard from obfuscating them.

This can be done by adding

```auto
-keep public class <MyPackage.MyClass> 

```

to your proguard.cfg.

---

<div class="post-metadata">

**Author:** ![Bro](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bro/32/11329_2.png) [@Bro](https://community.thunkable.com/u/Bro)\
**Post date:** [December 11, 2018, 10:52am UTC](https://community.thunkable.com/t/very-important-prevent-decompiling-thunkable-apk/60118/2 "2018-12-11T10:52:33Z")

</div>

@domhnallohanlon any opinion on this,sir ?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:52am UTC](https://community.thunkable.com/t/very-important-prevent-decompiling-thunkable-apk/60118/3 "2024-11-08T11:52:27Z")

</div>


