stoneInt
stoneInt

Reputation: 767

main.java.srcDirs += 'src/main/AndroidManifest.xml' What is the role of this line configuration?

I took over a project.

There is a line main.java.srcDirs += 'src/main/AndroidManifest.xml' in the gradle configuration.

It will cause Lint to report an error.

Can anyone explain the meaning of this line configuration for me?

Upvotes: 1

Views: 236

Answers (1)

aolphn
aolphn

Reputation: 2998

main.java.srcDirs is a collection.you can set like follow code or just delele it(if you don't really need set it by yourself)

main.java.srcDirs = ['src/main','src/other/xxx']

Upvotes: 1

Related Questions