Hi there --
I'm not on PhoneGap Build's staff, so I can't see your log. Would you mind posting it as a gist (being sure to take out any sensitive information)?
I took a quick look at the plugin.xml for your plugin, and you might try using <lib-file> -- documentation here: http://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#lib-file ? Not sure if it will help or not. But seeing the log would be useful.
4.4.0+ is only good for cordova android 7+ and your app seems to be using cordova android 6
from the plugins readme:
Cordova AppsFlyer plugin version 4.4.0 and higher are meant to be used with email@example.com
For lower versions of cordova-android please use plugin version 4.3.0 available @ https://github.com/AppsFlyerSDK/cordova-plugin-appsflyer-sdk/tree/releases/4.x.x/4.3.x/4.3 .0_cordova_android_6
Thanks for the reply.
Here is the Log: LogC7A6AF430.txt - Google Drive
And here is the project for which I get this fail log for: Cord7And6Plugin4.3.zip - Google Drive
Its a Cordova 7.1.0 with cordova-android 6.1.0 and firstname.lastname@example.org
This builds locally with no problems, both using cli and Android Studio - on the site it fails.
We tested two version combinations, that work fine when building locally:
- Cordova 7.1.0 with cordova-android 6.1.0 and email@example.com
- Cordova 8 with cordova-android 7 and firstname.lastname@example.org
Both variants fail with the same clause on build.phonegap.com
1 person found this helpful
i can confirm
cli-8.0.0 (android 7.0.0) and email@example.com = works
cli-6.5.0 (android 6.1.2) and firstname.lastname@example.org = broken (specified in README of plugin as broken)
cli-6.5.0 (android 6.1.2) and email@example.com = works
- be sure to view the app details to confirm the android version and specific plugin version as i notice in your app you are not specifying phonegap-version (engine is not obeyed on build)
- you are using the carat version identifier for the plugin which ^4.3.0 will match 4.4.0 (npm semantic version calculator)
Hello vangroover, thank you for your feedback, it helped us in identifying the issue:
It seems that when a plugin version is specified in the config.xml file with a
^character, it ignores the stated version and pulls the latest version from npm, for example:
<plugin name="cordova-plugin-appsflyer-sdk" spec="^4.3.0" />
The solution is to remove all
^chars that preceded the version both from config.xml, after that the build passes successfully:
<plugin name="cordova-plugin-appsflyer-sdk" spec="4.3.0" />