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

android
#1

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.

0 Likes

#2

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 https://stackoverflow.com/a/57034157.

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.

Cheers,
Luna

0 Likes

#3

Does lint pass locally on clean build?

0 Likes

#4

Yes it does on clean build.

0 Likes

#5

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 bitrise.io"). 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,
Luna

0 Likes

closed #6

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

0 Likes