[Q] Can we dummy external resources?
Objective: compile modded XMLs only without any other files.
At the moment, AFAIK (which is nothing), we are incapable to compile xml's without providing all the resources addressed by them.
As we know, resources are addressed like:
layout= @ANDROID:layout/preference_category" />
We have here local resources like:
And there is too an external one:
While trying to accomplish this task, I've got to the following Python script that will generate all the /res/values/*.xml's that addresses local resources.
Please edit 'input_folder' accordingly.
Then, issuing the below command:
aapt p -f -M onlyXMLs/AndroidManifest.xml -F onlyXMLs.zip -S onlyXMLs/res -I android.jar
What I get from it now are errors regarding external resources references not being found only, as expected.
This is exactly the point where my shallow knowledge ends ...
Could someone, someway, point me the light (if there is any) how could we 'dummy' external resources as done with local ones?
Thank you all.