This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Fixes configuration file lint.xml does not exist #1596
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
This fixes the following issue(s):
Screenshot
Reason why this happens
The path to the lint.xml file is defined in the app build.gradle. Because the lint.xml file is located outside of the app module the
![image](https://private-user-images.githubusercontent.com/45203772/252807781-4d13d79d-e376-449e-9580-b0c850585e78.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MzMzNjMsIm5iZiI6MTcyMTQzMzA2MywicGF0aCI6Ii80NTIwMzc3Mi8yNTI4MDc3ODEtNGQxM2Q3OWQtZTM3Ni00NDllLTk1ODAtYjBjODUwNTg1ZTc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDIzNTEwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwYjNjOGNhZmUxODlhMmRhN2I5Zjg2ZWIwMWZlYzMxMDNjYTViZTg2NThhNzEyZjA1YTNjY2I0NDUwY2Q4ZjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.p6x96TEvDvm1Ge_fDGGID49IQjFtofLF3oX8ie7QVoI)
../
is needed to correctly specifiy its path as the app module has to be escaped first.Why this is useful for all students
Enables the linter to correctly function. Although this is not noticed by students it is definetly usefull for development and it also reduces warnings in the build process.