Linting errors hinder ability to build repository #1064
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LBRYCommunity/lbry-android#1064
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Issue
I keep getting linting errors when trying to build this app. I'm fairly sure it's not just me. This forces me to have to put
lintOptions { abortOnError false }in theandroidoptions ofapp/build.gradleto be able to build and install the app. Can these issues be fixed or should this workaround be added to source?Steps to reproduce
Expected behaviour
I should be able to build the project without having to do a workaround.
Actual behaviour
I have to do a workaround so I can build the project.
System Configuration
Screenshots
html file of errors included as .txt file (to make github happy)
lint-results.txt
Acceptance Criteria
I am currently working on fixing linter warnings for some files, beginning with MainActivity, as they make very hard to see other markers on the scroll bar. I am doing it on a git branch and from time to time, as it es not going to fix any bug.
These warnings aren't making impossible to build, though.
The only problem I have when building is that I have to disable every line related to GMS on app/build.gradle and add a twitter.properties file which shouldn't be added to any commit.
Removing lines related to GMS did not change me having to disable linting error aborts. I've never have issues related to GMS before so I'm not sure what's happening here.
I called out the missing twitter.properties file in the instructions in #997 but it seems that it hasn't been fixed yet.
I'm no longer having issues with this.