Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Phonegap Android Build failing #14

Open
cmrockwell opened this issue Dec 9, 2017 · 0 comments
Open

Remote Phonegap Android Build failing #14

cmrockwell opened this issue Dec 9, 2017 · 0 comments

Comments

@cmrockwell
Copy link

I'm following this tutorial https://helpx.adobe.com/experience-manager/using/aem62_mobile.html
using the phonegap remote build. It appeared to succeed since there was a QR code generated under the phonegap build area on http://localhost:4502/libs/mobileapps/admin/content/dashboard.html/content/mobileapps/hybrid-reference-app/shell

Deploying to an Android Pixel 2 failed.

PhoneGap showed the error.
Oh geez. Your build failed. Click the "Log" button above to view the compile log. If you need help diagnosing the issue, you can post to the support forum with your App ID (please do a search first).

The PhoneGap remote build had has failed apparently due to missing dependencies.

Build Date: 2017-12-09 16:15:44 +0000

PLUGIN OUTPUT

Fetching plugin "[email protected]" via npm
Installing "phonegap-plugin-contentsync" at "1.2.3" for android
Fetching plugin "cordova-plugin-dialogs@~1.1.1" via npm
Installing "cordova-plugin-dialogs" at "1.1.1" for android
Fetching plugin "ionic-plugin-keyboard@^2.0.0" via npm
Installing "ionic-plugin-keyboard" at "2.2.1" for android
Fetching plugin "cordova-plugin-device@^1.0.0" via npm
Installing "cordova-plugin-device" at "1.1.7" for android
Fetching plugin "cordova-plugin-geolocation@~2.0.0" via npm
Installing "cordova-plugin-geolocation" at "2.0.0" for android
Fetching plugin "[email protected]" via npm
Installing "cordova-plugin-inappbrowser" at "1.1.1" for android
Fetching plugin "cordova-plugin-network-information@~1.0.1" via npm
Installing "cordova-plugin-network-information" at "1.0.1" for android
Fetching plugin "cordova-plugin-camera@~2.0.0" via npm
Installing "cordova-plugin-camera" at "2.0.0" for android
Fetching plugin "cordova-plugin-file-transfer@^1.0.0" via npm
Installing "cordova-plugin-file-transfer" at "1.7.0" for android
Fetching plugin "cordova-plugin-file@^5.0.0" via npm
Installing "cordova-plugin-file" at "5.0.0" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.1, failed version requirement: >=6.3.0
Skipping 'cordova-plugin-file' for android
Fetching plugin "cordova-plugin-x-socialsharing@~5.0.7" via npm
Installing "cordova-plugin-x-socialsharing" at "5.0.12" for android
Fetching plugin "cordova-plugin-whitelist@~1.0.0" via npm
Installing "cordova-plugin-whitelist" at "1.0.0" for android
Fetching plugin "https://github.com/phonegap-googlemaps-plugin/cordova-plugin-googlemaps" via git clone
Using shallow clone
Repository "https://github.com/phonegap-googlemaps-plugin/cordova-plugin-googlemaps" checked out to git ref "master" at "a7cbd20".
Installing "cordova-plugin-googlemaps" at "2.1.1" for android

        Official document
        https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/README.md

Fetching plugin "cordova-plugin-facebook4@^1.0.0" via npm
Installing "cordova-plugin-facebook4" at "1.9.1" for android
Fetching plugin "adobe-mobile-services@^4.7.0" via npm
Installing "adobe-mobile-services" at "4.8.1" for android

COMPILE OUTPUT

Configuration on demand is an incubating feature.
Incremental java compilation is an incubating feature.

FAILURE: Build failed with an exception.

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

Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find com.android.support:support-v4:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
Required by:
:project:unspecified > com.google.android.gms:play-services-maps:11.0.4 > com.google.android.gms:play-services-basement:11.0.4
Could not find com.android.support:support-annotations:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-core:4.29.0
Could not find com.android.support:support-core-utils:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-core:4.29.0
Could not find com.android.support:appcompat-v7:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
https://jcenter.bintray.com/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.0
Could not find com.android.support:cardview-v7:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
https://jcenter.bintray.com/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
https://jcenter.bintray.com/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.0
Could not find com.android.support:customtabs:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
https://jcenter.bintray.com/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
https://jcenter.bintray.com/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.0
Could not find com.android.support:support-v4:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.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.799 secs
Error: /project/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

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

Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find com.android.support:support-v4:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
Required by:
:project:unspecified > com.google.android.gms:play-services-maps:11.0.4 > com.google.android.gms:play-services-basement:11.0.4
Could not find com.android.support:support-annotations:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.1/support-annotations-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-core:4.29.0
Could not find com.android.support:support-core-utils:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-core-utils/27.0.1/support-core-utils-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-core:4.29.0
Could not find com.android.support:appcompat-v7:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
https://jcenter.bintray.com/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
https://jcenter.bintray.com/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.1/appcompat-v7-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.0
Could not find com.android.support:cardview-v7:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
https://jcenter.bintray.com/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
https://jcenter.bintray.com/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/27.0.1/cardview-v7-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.0
Could not find com.android.support:customtabs:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
https://jcenter.bintray.com/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
https://jcenter.bintray.com/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/customtabs/27.0.1/customtabs-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.0
Could not find com.android.support:support-v4:27.0.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
https://jcenter.bintray.com/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/android/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.pom
file:/android-sdk/extras/google/m2repository/com/android/support/support-v4/27.0.1/support-v4-27.0.1.jar
Required by:
:project:unspecified > com.facebook.android:facebook-android-sdk:4.29.0 > com.facebook.android:facebook-common:4.29.0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant