Jacksy
Jacksy

Reputation: 5

How to combine two projects made under different API level?

I m creating a customised music player with some additional features in it.... for that i copied one project whose API level is 10 and pasted it in my current working project whose API level is 19..... i m getting an error "Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 10"...... I don't know how to make two API level work in the same project ..... please help....... i tried cleaning my project and rebuilding it ..... but after that it shows R cannot be resolved to a variable

Upvotes: 0

Views: 745

Answers (1)

da_st
da_st

Reputation: 402

Try changing the api level on the project, in your project manifest you will find this line:

<uses-sdk
    android:minSdkVersion="10"
    android:targetSdkVersion="19" />

Change the targetSdkVersion to 19 to make it work with Android 4.4.

Upvotes: 2

Related Questions