Using Monaca Custom Debuger



  • I subcontract my add development and have the app fully functional using Cordova CLI which the developer has setup for me. I want to use the Monaca Custom Debugger testing my app. I have imported the App from GitHub to Cloud IDE and then I try to do a custom build. I get the following. Can someone help with this?

    Fetch queue Info...
    Start building 590b0b60ff2af26432843d72
    Setup working directories...
    Download project archive...
    Extract project archive...
    Fetch project info...
    Webview:null
    Arch:null
    cordova version: 6.2.0
    
    
    - preBuild -
    buildForAndroid
    
    - Cordova create -
    $ /data/build-server/cordova/6.2.0/bin/cordova create /tmp/monaca/590b0b60ff2af26432843d72/project
    Creating a new cordova project.
    
    
    - Copy .monaca-res directory -
    
    - Cordova platform add -
    $ /data/build-server/cordova/6.2.0/bin/cordova platform list
    $ /data/build-server/cordova/6.2.0/bin/cordova platform add /data/build-server/cordova/platforms/android/5.1.1
    Adding android project...
    Creating Cordova project for the Android platform:
        Path: platforms/android
        Package: io.cordova.hellocordova
        Name: HelloCordova
        Activity: MainActivity
        Android target: android-23
    Android project created with cordova-android@5.1.1
    Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
    Fetching plugin "cordova-plugin-whitelist@1" via npm
    Installing "cordova-plugin-whitelist" for android
    
                   This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
              
    
    
    - Copy config.xml -
    
    - Copy external plugin setting files -
    
    - Copy www files -
    
    - Cordova plugin add -
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add mobi.monaca.plugins.Monaca
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-whitelist@1.2.2
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-plugin-splashscreen@3.2.2
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add cordova-custom-config@2.0.3
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-console
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-crypt-file
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-device
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-dialogs
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-file
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-file-transfer
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-heremaps
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-http
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-network-information
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-splashscreen
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-statusbar
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/cordova-plugin-whitelist
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /tmp/monaca/590b0b60ff2af26432843d72/output/plugins/ionic-plugin-keyboard
    $ /data/build-server/cordova/6.2.0/bin/cordova plugin add /Data/build-server/debugger/android
    
    - Cordova prepare -
    $ /data/build-server/cordova/6.2.0/bin/cordova prepare android
    cordova-custom-config: Skipping auto-restore of config file backup(s)
    key=7QPmFSEa8cbFNGraq/7GX8lfSrWvF5gW, iv=wC7zJ4e/IK7CvQ7J
    encrypt: /private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/assets/www/index.html
    
    Fail to remove /tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/assets/cordova_files.txt
    
    - Cordova compile -
    $ /data/build-server/cordova/6.2.0/bin/cordova compile --debug --device
    ANDROID_HOME=/data/android-sdk
    JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
    :preBuild UP-TO-DATE
    :preDebugBuild UP-TO-DATE
    :checkDebugManifest
    :CordovaLib:preBuild UP-TO-DATE
    :CordovaLib:preDebugBuild UP-TO-DATE
    :CordovaLib:compileDebugNdk UP-TO-DATE
    :CordovaLib:compileLint
    :CordovaLib:copyDebugLint UP-TO-DATE
    :CordovaLib:mergeDebugProguardFiles
    :CordovaLib:packageDebugRenderscript UP-TO-DATE
    :CordovaLib:checkDebugManifest
    :CordovaLib:prepareDebugDependencies
    :CordovaLib:compileDebugRenderscript
    :CordovaLib:generateDebugResValues
    :CordovaLib:generateDebugResources
    :CordovaLib:packageDebugResources
    :CordovaLib:compileDebugAidl
    :CordovaLib:generateDebugBuildConfig
    :CordovaLib:generateDebugAssets UP-TO-DATE
    :CordovaLib:mergeDebugAssets
    :CordovaLib:processDebugManifest
    :CordovaLib:processDebugResources
    :CordovaLib:generateDebugSources
    :CordovaLib:compileDebugJavaWithJavac
    :CordovaLib:processDebugJavaRes UP-TO-DATE
    :CordovaLib:transformResourcesWithMergeJavaResForDebug
    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
    :CordovaLib:mergeDebugJniLibFolders
    :CordovaLib:transformNative_libsWithMergeJniLibsForDebug
    :CordovaLib:transformNative_libsWithSyncJniLibsForDebug
    :CordovaLib:bundleDebug
    :prepareAndroidCordovaLibUnspecifiedDebugLibrary
    :preReleaseBuild UP-TO-DATE
    :CordovaLib:preReleaseBuild UP-TO-DATE
    :CordovaLib:compileReleaseNdk UP-TO-DATE
    :CordovaLib:copyReleaseLint UP-TO-DATE
    :CordovaLib:mergeReleaseProguardFiles
    :CordovaLib:packageReleaseRenderscript UP-TO-DATE
    :CordovaLib:checkReleaseManifest
    :CordovaLib:prepareReleaseDependencies
    :CordovaLib:compileReleaseRenderscript
    :CordovaLib:generateReleaseResValues
    :CordovaLib:generateReleaseResources
    :CordovaLib:packageReleaseResources
    :CordovaLib:compileReleaseAidl
    :CordovaLib:generateReleaseBuildConfig
    :CordovaLib:generateReleaseAssets UP-TO-DATE
    :CordovaLib:mergeReleaseAssets
    :CordovaLib:processReleaseManifest
    :CordovaLib:processReleaseResources
    :CordovaLib:generateReleaseSources
    :CordovaLib:compileReleaseJavaWithJavac
    :CordovaLib:processReleaseJavaRes UP-TO-DATE
    :CordovaLib:transformResourcesWithMergeJavaResForRelease
    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
    :CordovaLib:mergeReleaseJniLibFolders
    :CordovaLib:transformNative_libsWithMergeJniLibsForRelease
    :CordovaLib:transformNative_libsWithSyncJniLibsForRelease
    :CordovaLib:bundleRelease
    :prepareComAndroidSupportAnimatedVectorDrawable2421Library
    :prepareComAndroidSupportAppcompatV72421Library
    :preDebugAndroidTestBuild UP-TO-DATE
    :prepareComAndroidSupportMultidex101Library
    :prepareComAndroidSupportSupportCompat2421Library
    :prepareComAndroidSupportSupportCoreUi2421Library
    :prepareComAndroidSupportSupportCoreUtils2421Library
    :prepareComAndroidSupportSupportFragment2421Library
    :prepareComAndroidSupportSupportMediaCompat2421Library
    :prepareComAndroidSupportSupportV42421Library
    :prepareComAndroidSupportSupportVectorDrawable2421Library
    :prepareHERESdkLibrary
    :prepareDebugDependencies
    :compileDebugAidl
    :compileDebugRenderscript
    :generateDebugBuildConfig
    :generateDebugAssets UP-TO-DATE
    :mergeDebugAssets
    :generateDebugResValues
    :generateDebugResources
    :mergeDebugResources
    AAPT: /private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/res/drawable-ldpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
    AAPT: /private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/res/drawable-mdpi/icon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
    :processDebugManifest
    
    See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
    
    :processDebugManifest FAILED
    
    BUILD FAILED
    
    Total time: 8.476 secs
    
    
    - postBuild -
    Remove working directories...
    Build Error: Error: Sandbox Exec Error: [ 注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
    注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
    注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。
    注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。
    /private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/AndroidManifest.xml:37:5-74 Error:
        uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [:HERE-sdk:] /private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/build/intermediates/exploded-aar/HERE-sdk/AndroidManifest.xml
        Suggestion: use tools:overrideLibrary="com.here.android.sdk" to force usage
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':processDebugManifest'.
    > Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 15 declared in library [:HERE-sdk:] /private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/build/intermediates/exploded-aar/HERE-sdk/AndroidManifest.xml
        Suggestion: use tools:overrideLibrary="com.here.android.sdk" to force usage
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    Error: Error code 1 for command: /private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/gradlew with args: cdvBuildDebug,-b,/private/tmp/monaca/590b0b60ff2af26432843d72/project/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true
     ]
    

  • Monaca

    @iversa could you please open a support ticket here? Please remember to provide information about your project.


Log in to reply