darryncampbell / darryncampbell-cordova-plugin-intent

General purpose intent shim layer for cordova appliations on Android. Handles various techniques for sending and receiving intents.
MIT License
86 stars 134 forks source link

Build error - Cannot find Symbol variable N #55

Closed pietervw closed 6 years ago

pietervw commented 6 years ago

Hi,

I'm having build errors when creating a blank Cordova app with and only include the plugin.

IntentShim.java:359
if(Build.Version.SDK_INT >= Build.VERSION_CODES.N && uniAriString.startsWith("file://"))
symbol: variable N

Cordova version 6.31.

Any advice?

darryncampbell commented 6 years ago

Hmmm... maybe related to the change I made this morning - I suggest using version 1.0.4 of the plugin (current version is 1.1.0)

darryncampbell commented 6 years ago

Actually, thinking about it properly, it sounds like you need to have a more recent version of the Android SDK since N is defined at API level 24, https://cordova.apache.org/docs/en/latest/guide/platforms/android/

darryncampbell commented 6 years ago

Presumed resolved