6 Replies Latest reply on Apr 16, 2018 10:05 AM by benjaminw57579939

    AppsFlyer Cordova Plugin Build Fail: Failed to create MD5 hash for file

    benjaminw57579939 Level 1

      Hello everyone!

       

      We are receiving a build error when trying to build Cordova applications that have included the AppsFlyer SDK Cordova plugin:

       

      * What went wrong:

      Execution failed for task ':compileReleaseJavaWithJavac'.

      > Failed to create MD5 hash for file '/project/src/main/libs/AF-Android-SDK.jar'.

       

      Link to complete build log: Adobe PhoneGap Build

      Link to Plugin Git: GitHub - AppsFlyerSDK/cordova-plugin-appsflyer-sdk: AppsFlyer plugin for Cordova

       

      I've attempted to change the gradle compile statement from explicitly importing our SDK file to importing all JARs in the lib folder but this has not solved the issue.

      Also I have notice these lines in the log:

       

      Error: /project/gradlew: Command failed with exit code 1 Error output:

      Note: Some input files use or override a deprecated API.

      Note: Recompile with -Xlint:deprecation for details.

       

      But there should be no deprecated API's in the plugin.

       

      What can be the cause of this issue?