1

how to protect android app from backup my app .apk.

I am using also allowBackup=false.

Still i am getting my .apk easily through APK backup apps.

In androidManifest.xml

<application
        android:allowBackup="false"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:theme="@style/AppTheme">
</application>

if someone give clear definition to restrict these situation. i will give tick the answer as accepted for my question.

Thanks in Advance. :)

3
  • 1
    I think there is not reliable way to prevent this. If there are any solutions, I bet I can find a workaround in 5min or less. If you want to protect your code you have got some more possibilities. What do you want to protect?
    – daemmie
    Nov 6, 2015 at 8:02
  • OK, Google Play Licensing, is what you need. You can't prevent the sharing of your apk, but you can check if it is a user who payed for it.
    – daemmie
    Nov 6, 2015 at 8:53
  • allowBackup is for whether or not your app's data will be automatically backed up by Android to be restored at a later installation of the same app. See developer.android.com/guide/topics/data/autobackup.html
    – the_new_mr
    Dec 20, 2017 at 9:53

1 Answer 1

1

try the Google App licensing in your android application.

Official documentation available in these link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.