android targetSdkVersion 升級到 34 的坑

出現

AAPT2 process unexpectedly exit. Error output: aapt2.exe W 07-12 15:47:49 5988 17608 LoadedArsc.cpp:657] Unknown chunk type ‘200’.

解法:

我是使用 tools AGP…..

https://blog.csdn.net/CruxFinn/article/details/131638123

 

再來出現

No signature of method: build_*.android() is applicable for argument types

解法:

https://blog.csdn.net/qq_38132105/article/details/125494179

About: Kaito