androig tools: replace to add multiple attributes

Insert picture description here

If you want to see more algorithm questions, you can scan the QR code above to follow my WeChat official account " Data Structure and Algorithms ". Up to now, I have updated more than 500 algorithm questions in the official account , some of which have been sorted into pdf documents. , As of now, there are more than 800 pages in total (and will continue to increase), you can reply to the keyword "pdf" in the official account to download.


Sometimes when there is a conflict between our own AndroidManifest and the third-party AndroidManifest attribute, we will use the tools:replace attribute. If it is one, we can use it directly. If it is more than one, we need to add a comma between the attributes, such as There are two attributes allowBackup and android:usesCleartextTraffic, as shown below

tools:replace="android:allowBackup,android:usesCleartextTraffic"

Guess you like

Origin blog.csdn.net/abcdef314159/article/details/112579357