How to use aapt2, where is the documentation?
问题 I have used aapt p to package resources and generate R.java . But when I upgraded to Android 24, I found aapt2.exe . Should I use aapt2.exe ? How do I use it? I could not find any documentation about it. 回答1: There are some big differences between how AAPT and AAPT2 work. Compile and link The main idea behind AAPT2, apart from new features, is that it divides the 'package' step into two: 'compile' and 'link'. It improves performance, since if only one file changes, you only need to recompile