Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
can't find git repo (library)
Could not find com.github.Kunzisoft:Android-SwitchDateTimePicker:1.9.
Required by:
project :app
Search in build.gradle files
I was trying to use the library. I had searched for 2.1, 2.0 and 1.9 none of them are working. I had searched through internet I had found similar issue but that bug didn't match with mine. Why I can't find the repo? My network connection is well. When I had sync the project I didn't get any error but I am getting error when trying to run the project. There's no other error I have seen.
implementation 'com.github.Kunzisoft:Android-SwitchDateTimePicker:1.9'
compile
is deprecated that's why I am using implementation
.
1 answer
The following users marked this post as Works for me:
User | Comment | Date |
---|---|---|
Anonymous | (no comment) | Oct 8, 2021 at 04:27 |
At first you have to add
maven { url "jitpack.io" }
in settings.gradle. I was facing the issue after adding that line also. When I had reboot my system it's working fine then. You can try to close and re-run Android Studio also. I think that might be helpful also.
0 comment threads