I imported the CardView
Sample app using Android Studio with Import Sample
option from GitHub. No issues.
However, When I tried to run this sample app on my Android device running Android 4.2
, I am getting error as per below screenshot:
I Google the issue and found this link: Installation error: INSTALL_FAILED_OLDER_SDK
As per the answers in that link, I need to make targetSdkVersion to match my device OS version So, I tried to change the targetSdkVersion
as below (Android 4.2 = API Level 17)
<uses-sdk android:minSdkVersion="7"
android:targetSdkVersion="17" />
But even after this change I am unable to run this app on my android device.
Any hint on how to fix this?