Adding jar to android project

Hello!

I have a problem adding android-support-v4.jar to my project.

I add it as a project library. Then add this library to module dependencies and check "Export" checkbox.
But IDEA do not put this library to resulting .apk. When I run my app I get following error:
..
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.SwipeRefreshLayout" on path: DexPathList[[zip file "/data/app/app.simleRates-2.apk"],nativeLibraryDirectories=[/data/app-lib/app.simleRates-2, /system/lib]]
..

Image:settings.png
Image:lib.png
Please tell me what I'm doing wrong?

I use IDEA 13.1.2.

Thanks!

---
Original message URL: http://devnet.jetbrains.net/message/5514762#5514762

Please sign in to leave a comment.