Home | History | Annotate | Download | only in basic
      1 #!/bin/bash
      2 
      3 PATH_TO_FRAMEWORK_RES=$(gettop)/prebuilts/sdk/current/android.jar
      4 
      5 aapt package -M AndroidManifest.xml -S res -I $PATH_TO_FRAMEWORK_RES --split fr,de -F bundle.apk -f && \
      6 unzip bundle.apk resources.arsc && \
      7 mv resources.arsc basic.arsc && \
      8 xxd -i basic.arsc > basic_arsc.h && \
      9 unzip bundle_de_fr.apk resources.arsc && \
     10 mv resources.arsc split_de_fr.arsc && \
     11 xxd -i split_de_fr.arsc > split_de_fr_arsc.h
     12