Git Product home page Git Product logo

androidapplicationlibrary's Introduction

DexProtector (https://dexprotector.com) is one of the pioneers in mobile application and library shielding. It protects and obfuscates Android and iOS applications and libraries. Our solution helps you to secure your code and assets against unauthorized or illegal use, tampering, reverse engineering, and cracking.

AndroidApplicationLibrary

This sample is to demonstrate how the AAR protection works

Description

https://dexprotector.com/docs#aar-protection

Requirements

  • Android Studio or Gradle
  • NDK
  • DexProtector Enterpise with a valid license

Configuring

  • Set path to Android SDK in local.properties
  • Set path to DexProtector Enterprise in build.gradle (project’s root) instead of /Users/developer/DexProtector

Building

Building Sample Android Application Library

cd AndroidApplicationLibrary/SampleLibrary/lib
<ndk-dir>/ndk-build
../gradlew clean assembleRelease
cp build/outputs/aar/lib-release.aar ../../SampleApp/app/libs/lib-release.aar

Building Sample APK

cd AndroidApplicationLibrary/SampleApp/app
../gradlew clean assembleRelease

Evaluating

adb install -r build/outputs/apk/app-release.apk
adb shell am start -n com.dexprotector.aar.app/.MainActivity

When the Sample application is started the following protection features are demonstrated:

  • Initialization and use of the library’s methods that are protected with
  • String Encryption
  • Hide Access
  • Class Encryption
  • Resource Encryption (available only for files from assets)
  • JNI Obfuscation
  • Native Library Encryption
  • Use of the Environment checks and device attestation

Corresponding messages will be displayed on a screen.

androidapplicationlibrary's People

Contributors

dexprotector avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.