marmalade - Cannot find new API level symbols when building extension

150 Views Asked by At

This is a Marmalade based question

I am building my android extension which is using symbols added in API level 16 and above.

When building it I get the "cannot find Symbol" error for those new classes.

How do i tell the MKB to take the set the new API level as the target sdk when building an extension

running following command

mkb AndroidNotification_android_java.mkb --rebuild

and i get

  if (currentapiVersion >= android.os.Build.VERSION_CODES.JELLY_BEAN){
                                                               ^
../source/android/C2DMReceiver.java:216: cannot find symbol
1

There are 1 best solutions below

4
0xC0DED00D On

You'll have to change target API level from Android Manifest.xml file Make the target at highest API level available (currently 19)