ionic build android failed

ionic build android failed

av Salim BOUDRAA -
Antall svar: 1

hello, when i run ionic build android on cmd it will show me this error : 

BUILD FAILED


Total time: 1.892 secs


Error: cmd: Command failed with exit code 1 Error output:

FAILURE: Build failed with an exception.


* Where:

Build file 'C:\moodlemobile\platforms\android\build.gradle' line: 35


* What went wrong:

A problem occurred evaluating root project 'android'.

> Could not find method compile() for arguments [{group=com.google.android.gms,

name=play-services-auth, version=16.0.0}] on object of type org.gradle.api.inter

nal.artifacts.dsl.dependencies.DefaultDependencyHandler.


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.


someone can help me ??

thank you

Gjennomsnittlig vurdering: -
Som svar til Salim BOUDRAA

Re: ionic build android failed

av Juan Leyva -
Bilde av Core developers Bilde av Moodle HQ Bilde av Plugin developers Bilde av Testers

Hi Salim,

I'd suggest you to build using Phonegap Build, we always build using an online system where we can set the libraries versions, etc..