gradle - How to force build system to ignore resource files in Android Studio? -
i working android studio 2.2. if have resources (xml files, example) have errors in them, when try build these errors bring entire build screeching halt, even if not referencing them activity. don't want delete files directories because eventually fix them, not priority @ moment. how in world can "turn them off" now, or @ least tell build system ignore them? tried doing "keep.xml" tools:discard trick adding paths, doesn't when compiling debug target. way can project build either deleting files out of resources or moving them. seems overkill.
lintoptions { abortonerror false }
adding in app gradle file force complete build errors in it. or, can comment files.
Comments
Post a Comment