Turtlebody / android-media-picker

A simple and easy to use Media Picker android library. Choose any image, video or audio from your device
MIT License
60 stars 16 forks source link

Media picker issues #3

Closed Marcosmaliki closed 5 years ago

Marcosmaliki commented 5 years ago

I have a problem with a superclass used in the library. Check my log

Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath: class com.greentoad.turtlebody.mediapicker.MediaPicker.MediaPickerImpl, unresolved supertypes: org.jetbrains.anko.AnkoLogger class com.greentoad.turtlebody.mediapicker.MediaPicker.PickerFragment, unresolved supertypes: org.jetbrains.anko.AnkoLogger > Task :app:buildInfoGeneratorDebug  
Marcosmaliki commented 5 years ago

I found a solution, a dependency is missing: //anko implementation "org.jetbrains.anko:anko-commons:$ANKO_VERSION" I added it to my gradle and everything is working perfectly. Thanks for the library

wangsun6 commented 5 years ago

yup as @Marcosmaliki said u can add missing dependency "implementation "org.jetbrains.anko:anko:Version" to remove the error.

in next version we will remove this dependent dependency.