I have downloaded android-support-v4.jar file for using android.support.v4.view.PagerAdapter in my application.
I develop my application and I test it on real android device, it works fine.
but whenever I add the android-support-v4 to my IDE and I try to rebuild the project I get below warnings:
Also when I try to Run it on real device ( or emulator ) I will get below errors:
Note: as I said before adding the android-support-v4 my application works correctly.
Note: the IDE that I am using is: IntelliJ 13.1.3
Note: for adding android-support-v4 to my project: I add it to project like this:
at the end I've attached my manifest file, maybe the reason is from it.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.BritishCouncilasfads"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="10"/>
<application android:label="@string/app_name">
<activity android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name=".ListViewActivity"/>
<activity android:name=".SecondActivity"/>
</application>
</manifest>
Please help me, I don't know what should I do !! :(