DEV Community

Cover image for Solution : Error during build the moodle mobile app through phonegap
Chirag Dave
Chirag Dave

Posted on

Solution : Error during build the moodle mobile app through phonegap

Many moodle developer getting error message at the time of phonegap build of moodle mobile app version 3.4.2.

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'project'.

    Could not resolve all dependencies for configuration ':_debugApkCopy'.
    Could not find com.android.support:support-v4:27.1.0.
    Required by:
    project :
    Could not find com.android.support:support-v4:27.1.0.
    Required by:
    project :
    Could not find com.android.support:support-v4:27.1.0.
    Required by:
    project : > com.android.support:support-v13:23.4.0
    Could not find com.android.support:support-v4:27.1.0.
    Required by:
    project : > com.google.android.gms:play-services-gcm:9.8.0 > com.google.android.gms:play-services-basement:9.8.0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.559 secs
Command finished with error code 1: /project/gradlew cdvBuildDebug,-b,/project/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
Error: /project/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

It’s Simple solution, Just replace

to

It will works..!!!

For moodle related queries and moodle development services contact on inquiry@vibidsoft.com or call on +91 70161 48402

Top comments (0)