VanirAOSP compile fails at some api stuff

I'm getting this error when I try to compile VanirAOSP

Code:

/home/lozohcum/Vanir/out/target/common/obj/PACKAGING/public_api.txt:44533: warning 21: Method java.util.zip.ZipFile.ZipFile no longer throws exception java.util.zip.ZipException /home/lozohcum/Vanir/out/target/common/obj/PACKAGING/public_api.txt:13415: error 13: Method android.media.audiofx.LoudnessEnhancer.getTargetGain has added 'final' qualifier /home/lozohcum/Vanir/out/target/common/obj/PACKAGING/public_api.txt:13416: error 13: Method android.media.audiofx.LoudnessEnhancer.setTargetGain has added 'final' qualifier prebuilts/sdk/api/19.txt:25: error 10: Removed field android.Manifest.permission.BIND_NFC_SERVICE prebuilts/sdk/api/19.txt:13231: error 10: Removed field android.media.audiofx.AudioEffect.EFFECT_TYPE_LOUDNESS_ENHANCER prebuilts/sdk/api/19.txt:13389: error 9: Removed public constructor LoudnessEnhancer(int)

****************************** You have tried to change the API from what has been previously released in an SDK. Please fix the errors listed above. ******************************

make: *** [/home/lozohcum/Vanir/out/target/common/obj/PACKAGING/checkapi-last-timestamp] Error 38

I can compile AOSP 4.4.4 and CM11 4.4.4 with no errors, only Vanir fails. Doesn anyone know how can I overcome this?

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by vcartwright
1 hour ago
Last post by kabbott
2 hours ago
Last post by issac.simonis
2 hours ago
Last post by raynor.kyler
38 minutes ago
Last post by alvena01
4 hours ago
Last post by qhyatt
2 hours ago
all in one
Started by gsmitham
Last post by daugherty.filiberto
1 hour ago
Last post by conor.klocko
2 hours ago
Last post by ufeil
4 hours ago
Last post by cecile25
40 minutes ago