Lint check passed on local machine but lint step failed on bitrise

Lint’s been working fine for the past few days. But it starts acting weird when Android navigation component is introduced . It’s showing this error for lint step:

Task :app:compileDevReleaseKotlin FAILED
e: /bitrise/src/app/src/main/java/com/kiwi/dealer/feature/auction/AuctionFragment.kt: (104, 51): Unresolved reference: showAllUpcomingAuctionList
e: /bitrise/src/app/src/main/java/com/kiwi/dealer/feature/auction/AuctionFragment.kt: (113, 61): Too many arguments for public final fun showAuctionDetailList(): NavDirections

It seems like Lint Step doesn’t recognize action name generated by Navigation Component even though the local lint check is passed and the app can run without any problem. Any help would be much appreciated.

Here’s the build link just in case necessary.

Hi @khunzohn,

Thank you for reaching out.

I am not super familiar with Android but I am happy to do my best. I did some Google searching about this issue and came across

Can you please read through that thread and try the suggested solution? And please report back if this worked for you or not. If not I can continue to investigate the issue.


Does lint pass locally on clean build?

Yes it does on clean build.

Hi @khunzohn,

Thank you for following-up.

Please try to reproduce the Bitrise workflow locally to see if you have any similar failures (more information found here: How to debug your build locally / "It works on my Mac/PC but not on"). 1st reproduce it with a clean build (may not have to do this again) and 2nd with a build utilizing our Dockerized stack images.

In the event that the error occurs on the Dockerized stack but not on the clean build using Bitrise, we can pass the issue to tooling for reproduction and investigation.

Thanks and looking forward to hearing from you.

Kind regards,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.