#!/bin/sh # Creates an apex stub in a subdirectory named after the package name. Edit the APEX_NAME variable # before running. APEX_NAME=com.android.yourpackagenamehere mkdir ${APEX_NAME} cd ${APEX_NAME} cat > Android.bp < csr.conf < manifest.json << EOF { "name": "${APEX_NAME}", "version": 1 } EOF