googleads / googleads-mobile-android-native-templates

Apache License 2.0
116 stars 102 forks source link

CanIgnoreReturnValue Error #31

Closed DarkEye42 closed 10 months ago

DarkEye42 commented 2 years ago

In NativeTemplateStyle.java can not resolve symble import com.google.errorprone.annotations.CanIgnoreReturnValue

" CanIgnoreReturnValue " can't find.

NomanShaikh175 commented 2 years ago

did you find the solution? I am facing the same problem.

HmimssaSoufiane commented 2 years ago

Same i go back to old version .

DarkEye42 commented 2 years ago

I didn't find any solutions so I left Admob and using Unity now. It's better than Admob. eCPM rate is also high.

arafaatqureshi commented 1 year ago

@DarkEye42 @NomanShaikh175 @HmimssaSoufiane Add this dependency in your nativetemplate module gradle file implementation 'com.google.errorprone:error_prone_annotations:2.9.0'

lilcheti commented 1 year ago

why not fixing this already?

RakshakManchanda commented 1 year ago

@DarkEye42 @NomanShaikh175 @HmimssaSoufiane Add this dependency in your nativetemplate module gradle file implementation 'com.google.errorprone:error_prone_annotations:2.9.0'

Thanks for the Quick Solution. But it will just take a single commit to resolve this issue for new users. @maddevrelgithubbot @kluever Please implement this thing so that the code should be error free for a newbie.