android - Gradle: error: package does not exist -


i know there different solutions different libraries posted. but, me this one?

i've busting head past couple of days, , don't know do. tried importing modules in suggested ways different posts. (project structure --> dependencies --> add dependencies), etc. project not show errors, when run it, throws me compilation error complains classes missing. library depends on viewpagerindicator's library imported.

here picture. thanks!!!

enter image description here

note:i have tried eclipse, problem different there. app crashes when run it. when uncheck islibrary properties -> android , erase libraries, app works.

inspired this answer, these steps did:

put jar file (in case, 'xxx.jar') libs folder of project right click , select add library type in dependencies part of build.gradle file: compile files('libs/xxx.jar') clean build. can done inside android studio, ran gradlew.bat included inside project folder now, project should built , run fine.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -