Closed Bart1909 closed 4 years ago
Same. Tried 1.18 to .24 and they all give me the same build issue... was working before
Same here, and I also saw that the picasso version is not the latest. As soon as I introduce any push notification plugin I get these errors aswel
Same issue with all versions, can we get an update on this? cannot push out our product because of this error.
Any update on this?
Waiting reply
Sadly no solution provide yet!
Same prob here. Any updates?
I think I found something, it seems that gradle is using com.squareup.picasso:picasso
version 2.7
instead of 2.5.2
as defined in this repo.
Version 2.7
has breaking changes like the with
method changed to get
, onError
exceptions requires a Throwable
parameter, etc.
So far I dont have any clue on why this is happening to gradle, but I suspect that it might have something to do with latest versions of cordova-android
, namely > 7
Same issue too .. Unable to build my app after gradle update ..
I have confirmed the cause was having these plugins installed along:
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-firebasex 9.0.1 "Google Firebase Plugin"
As a temporary workaround, I have made a fork of 1.1.8
that works with com.squareup.picasso
library version 2.71828
.
Please note that this might break anytime, I suspect gradle is pulling picasso's latest release which might contain more breaking change.
Try it and see if it works for you:
ionic cordova plugin rm com-sarriaroman-photoviewer
ionic cordova plugin add https://github.com/ilyasfoo/photoviewer.git
Ok guys, i found a temp solution ..
ionic cordova plugin rm com-sarriaroman-photoviewer
ionic cordova plugin add com-sarriaroman-photoviewer@1.1.18
npm i patch-package -g
mkdir patches
vi com-sarriaroman-photoviewer+1.1.18.patch
patch-package
ionic cordova platform rm android; ionic cordova platform add android
ionic cordova prepare android
I created a fork
https://github.com/TdoubleG/photoviewer
Feel free to use this solution as I updated the Picasso Library to the current version.
Hi,
I'm getting the following error when building for android with ionic 4:
I already tried with version 1.1.18 and 1.2.1 but no one works...
Anyone an idea?