This is a companion discussion topic for the original entry at https://www.raywenderlich.com/20065814-android-in-app-review/lessons/3
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/20065814-android-in-app-review/lessons/3
In the video, after you tell the view to create a new module, you open the build.gradle file and delete the following code:
ext {
version.kotlin = '1.4.21`
}
There is no explanation given for why you did this, and you don’t tell the viewer to do this. What’s the explanation?
The project doesn’t seem to build.
The build error:
/in_app_review/03-build-an-in-app-review-module/final/app/src/main/java/com/razeware/emitron/data/login/LoginPrefs.kt: (3, 26): Unresolved reference: guardpost
This is the import statement throwing the error:
import com.raywenderlich.guardpost.data.SSOUser
in LoginPrefs.kt
It looks like the project is looking for another library package from RW, guardpost. Where does this dependancy come from? Should there be a step added to the project setup instructions?
Hey @abunur!
I removed that section because the new module creates a new kotlin_version property, even though it’s already defined, right underneath in the ext
section.
I’ll add some notes here too, to explain why I did that!
In terms of “guardpost” missing, I’ve just fixed that issue. It seems that our .gitignore for the materials repo removed any .aar files, which the guardpost is, so it was missing. You should be able to use the projects now properly, thanks for checking this out!
Thanks.