Android Studio with uk.co.senab.photoview.PhotoView

5.9k views Asked by At

I am using Android Studio 0.8.14, and I have included the module from https://chris.banes.me/2012/10/12/photoview-v1-1/ but it always show me

Error:(27, 29) error: package uk.co.senab.photoview does not exist

But within the program the import uk.co.senab.photoview.PhotoViewAttacher; without any error. That's puzzled me.

I have been trying to resolve this without any success.

error: package uk.co.senab.photoview does not exist

1

There are 1 answers

0
user1978289 On BEST ANSWER

you should check first: Package does not exist when using separate App as a dependency

then - if this does not fix your issue you should create a dependancy of your library:

reference which helped me to solve this problem: https://www.jetbrains.com/idea/help/configuring-module-dependencies-and-libraries.html

in this case you should add : [your-photo-library-name] dependancy for your main app in Project Structure Screen.

Hope it helps.