error: package com.nguyenhoanglam.imagepicker.activity does not exist
Library changed.
In fact I am using Java not Kotlin.
When I look the library, I saw that there is another equivalent library for Java.
https://github.com/esafirm/android-image-picker
This library works without any problem, now. I do not know why the first library is not working.
You can use Android-Image-Cropper which seems very feasible and handy to me.