Closed guirip closed 6 years ago
PS: No issue encountered if I switch back on version 7.0.8
Same issue here.
Hi,
Starting with Pushwoosh Cordova plugin v7.1.0, you need to use Android Plugin for Gradle v3.0.0 (or higher) with Gradle v4.1 (or higher). You should add Java 8 support as well. To do so you should use Cordova-android v7.0.0 (or higher):
#remove previous android platform
cordova platform remove android
#add new one with cordova-android v7.0.0
cordova platform add android@7.0.0
Okay, that was tricky as cordova-android@7.0.0 is available since 2 days ago only :) Will try tomorrow and let you know. Thanks @wfhm
@guirip Any news?
@wfhm Damn, I said 'tomorrow' 6 days ago... facepalm :)
We had a release to make/test/deliver to a client so we couldn't afford to change the cordova-android version this late. But this morning I had some time available for this so I tried. I could say that it is better, because I no longer have the error reported, but the build still fails because a service provided by one of our contractors does not seem to be compatible with cordova-android@7 / minSdk 19.
Thus we need to keep on working with version 7.0.8 of pushwoosh-cordova-plugin for a while. Sorry that I can't help more.
@guirip
Sorry for pinging you again. Did you have a chance to try the solution above? Please also note that we have added Java 7 support to pushwoosh-cordova-plugin starting with 7.2.2 version.
@wfhm 7.2.2 works well for me, no build problem as reported.
Hello !
I now have the following error:
Installed java version:
Installed android tools:
Npm resolved: https://registry.npmjs.org/pushwoosh-cordova-plugin/-/pushwoosh-cordova-plugin-7.1.0.tgz
Simple steps to reproduce:
Here is the output from my machine:
If you need anything else that can help you, please tell me.