title: Modify or generate Android resources.arsc and compiled manifest
body: <p>I would like to create an app that allows the user to generate an APK based on some static code i provide. Java code won't change, i will just have to modify the AndroidManifest.xml and the resources (either modifying the resources.arsc or creating a new one from scratch since i have the R.java available). </p>
  
  <p>The number and name of resources will not change, just the content of strings and the drawables content is modified (means R.java doesnt need to be generated again)</p>
  
  <p>So, assuming i can pre compile everything and put it into the app, is there any way to do this without having a java compiler on the device? I can put aapt and aidl binaries into the APK. Singing at the end wouldnt be an issue.</p>