@bringthefood wrote:
Hi
I have a project with OneSignal installed. It was working fine, until new iOS was release which meant that iOS users were not being subscribed to onesignal.
So as per the onesignal instructions, i removed the one signal plugin and added again, thus updating to latest version. iOS is now working fine.
However, since updating one-signal plugin, i am now unable to build android release versions. If i do not use the release flag, i manage to build a debug version successfully.
But when using the release flag, I keep getting the following error:
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:lintVitalRelease'. > Could not resolve all artifacts for configuration ':app:debugUnitTestRuntimeClasspath'. > Could not find com.google.android.gms:play-services-ads-identifier:11.8.0. Required by: project :app > com.onesignal:OneSignal:3.13.1 > Could not find com.google.android.gms:play-services-stats:11.8.0. Required by: project :app > com.onesignal:OneSignal:3.13.1 > com.google.firebase:firebase-messaging:17.3.4 > com.google.firebase:firebase-iid:17.0.4 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 18s 28 actionable tasks: 1 executed, 27 up-to-date (node:15032) UnhandledPromiseRejectionWarning: Error: /Volumes/Data HD/zedmiah/desktop/submited/lowestofttandoori/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:lintVitalRelease'. > Could not resolve all artifacts for configuration ':app:debugUnitTestRuntimeClasspath'. > Could not find com.google.android.gms:play-services-ads-identifier:11.8.0. Required by: project :app > com.onesignal:OneSignal:3.13.1 > Could not find com.google.android.gms:play-services-stats:11.8.0. Required by: project :app > com.onesignal:OneSignal:3.13.1 > com.google.firebase:firebase-messaging:17.3.4 > com.google.firebase:firebase-iid:17.0.4 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 18s at ChildProcess.whenDone (/Volumes/Data HD/zedmiah/desktop/submited/lowestofttandoori/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:915:16) at Socket.stream.socket.on (internal/child_process.js:336:11) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at Pipe._handle.close [as _onclose] (net.js:561:12) (node:15032) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:15032) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. MacBook-Pro:lowestofttandoori zedmiah$
Any help will be appreciated!
Thanks
Z
Posts: 1
Participants: 1