Android compile error (last build was ok)


#1
  • Cocoon Version:
    latest

  • Basic description of the problem:
    compile error

  • Device info:

  • Steps will reproduce the problem:
    I just wanted to rebuild my app with some minor changes to its functionalities and now there is an error… tryed few versions back that were normaly compiled before but no luck… somethnig changed to cocoon these last few weeks and now WEBVIEW is not working!

  • Expected result:
    before there was no error in webview and now there is… while in webview+ theres no error in webview+ app looks all crooked so i don’t use it for a long time.

  • Error log

Created: 2018/04/12

Last compilation: 2018/06/08 - 21:29:00

COMPILER ERROR:

/workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/workspace/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:24: AAPT: No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’

/workspace/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:24: error: No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:processArmv7ReleaseResources’.

com.android.ide.common.process.ProcessException: Failed to execute aapt

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

CORDOVA LOG:

ray.com/com/android/support/drawerlayout/28.0.0-alpha3/drawerlayout-28.0.0-alpha3.pom
Download https://jcenter.bintray.com/com/android/support/slidingpanelayout/28.0.0-alpha3/slidingpanelayout-28.0.0-alpha3.pom
Download https://jcenter.bintray.com/com/android/support/interpolator/28.0.0-alpha3/interpolator-28.0.0-alpha3.pom
Download https://jcenter.bintray.com/com/android/support/swiperefreshlayout/28.0.0-alpha3/swiperefreshlayout-28.0.0-alpha3.pom
Download https://jcenter.bintray.com/com/android/support/asynclayoutinflater/28.0.0-alpha3/asynclayoutinflater-28.0.0-alpha3.pom
Download https://jcenter.bintray.com/com/android/support/cursoradapter/28.0.0-alpha3/cursoradapter-28.0.0-alpha3.pom
Download https://jcenter.bintray.com/android/arch/lifecycle/viewmodel/1.1.1/viewmodel-1.1.1.pom
Download https://jcenter.bintray.com/android/arch/lifecycle/common/1.1.1/common-1.1.1.pom
Download https://jcenter.bintray.com/android/arch/lifecycle/livedata-core/1.1.1/livedata-core-1.1.1.pom
Download https://jcenter.bintray.com/android/arch/core/runtime/1.1.1/runtime-1.1.1.pom
Download https://jcenter.bintray.com/com/android/support/support-annotations/28.0.0-alpha3/support-annotations-28.0.0-alpha3.jar
Download https://jcenter.bintray.com/com/android/support/collections/28.0.0-alpha3/collections-28.0.0-alpha3.jar
Download https://jcenter.bintray.com/android/arch/lifecycle/common/1.1.1/common-1.1.1.jar
Download https://jcenter.bintray.com/android/arch/core/common/1.1.1/common-1.1.1.jar
Download https://jcenter.bintray.com/android/arch/lifecycle/runtime/1.1.1/runtime-1.1.1.aar
Download https://jcenter.bintray.com/com/android/support/versionedparcelable/28.0.0-alpha3/versionedparcelable-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/support-compat/28.0.0-alpha3/support-compat-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/support-media-compat/28.0.0-alpha3/support-media-compat-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/documentfile/28.0.0-alpha3/documentfile-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/android/arch/core/runtime/1.1.1/runtime-1.1.1.aar
Download https://jcenter.bintray.com/android/arch/lifecycle/livedata-core/1.1.1/livedata-core-1.1.1.aar
Download https://jcenter.bintray.com/android/arch/lifecycle/viewmodel/1.1.1/viewmodel-1.1.1.aar
Download https://jcenter.bintray.com/com/android/support/loader/28.0.0-alpha3/loader-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/localbroadcastmanager/28.0.0-alpha3/localbroadcastmanager-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/print/28.0.0-alpha3/print-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/support-core-utils/28.0.0-alpha3/support-core-utils-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/customview/28.0.0-alpha3/customview-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/viewpager/28.0.0-alpha3/viewpager-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/coordinatorlayout/28.0.0-alpha3/coordinatorlayout-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/drawerlayout/28.0.0-alpha3/drawerlayout-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/slidingpanelayout/28.0.0-alpha3/slidingpanelayout-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/interpolator/28.0.0-alpha3/interpolator-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/swiperefreshlayout/28.0.0-alpha3/swiperefreshlayout-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/asynclayoutinflater/28.0.0-alpha3/asynclayoutinflater-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/cursoradapter/28.0.0-alpha3/cursoradapter-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/support-core-ui/28.0.0-alpha3/support-core-ui-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/support-fragment/28.0.0-alpha3/support-fragment-28.0.0-alpha3.aar
Download https://jcenter.bintray.com/com/android/support/support-v4/28.0.0-alpha3/support-v4-28.0.0-alpha3.aar
Download https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/23.53.589.4/xwalk_core_library-23.53.589.4.aar
:preBuild UP-TO-DATE
:preArmv7ReleaseBuild UP-TO-DATE
:checkArmv7ReleaseManifest
:preArmv7DebugBuild UP-TO-DATE
:preX86DebugBuild UP-TO-DATE
:preX86ReleaseBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareAndroidArchCoreRuntime111Library
:prepareAndroidArchLifecycleLivedataCore111Library
:prepareAndroidArchLifecycleRuntime111Library
:prepareAndroidArchLifecycleViewmodel111Library
:prepareComAndroidSupportAsynclayoutinflater2800Alpha3Library
:prepareComAndroidSupportCoordinatorlayout2800Alpha3Library
:prepareComAndroidSupportCursoradapter2800Alpha3Library
:prepareComAndroidSupportCustomview2800Alpha3Library
:prepareComAndroidSupportDocumentfile2800Alpha3Library
:prepareComAndroidSupportDrawerlayout2800Alpha3Library
:prepareComAndroidSupportInterpolator2800Alpha3Library
:prepareComAndroidSupportLoader2800Alpha3Library
:prepareComAndroidSupportLocalbroadcastmanager2800Alpha3Library
:prepareComAndroidSupportPrint2800Alpha3Library
:prepareComAndroidSupportSlidingpanelayout2800Alpha3Library
:prepareComAndroidSupportSupportCompat2800Alpha3Library
:prepareComAndroidSupportSupportCoreUi2800Alpha3Library
:prepareComAndroidSupportSupportCoreUtils2800Alpha3Library
:prepareComAndroidSupportSupportFragment2800Alpha3Library
:prepareComAndroidSupportSupportMediaCompat2800Alpha3Library
:prepareComAndroidSupportSupportV42800Alpha3Library
:prepareComAndroidSupportSwiperefreshlayout2800Alpha3Library
:prepareComAndroidSupportVersionedparcelable2800Alpha3Library
:prepareComAndroidSupportViewpager2800Alpha3Library
:prepareOrgApacheCordovaCordovaLib623ReleaseLibrary
:prepareOrgXwalkXwalk_core_library23535894Library
:prepareArmv7ReleaseDependencies
:compileArmv7ReleaseAidl
:compileArmv7ReleaseRenderscript
:generateArmv7ReleaseBuildConfig
:mergeArmv7ReleaseShaders
:compileArmv7ReleaseShaders
:generateArmv7ReleaseAssets
:mergeArmv7ReleaseAssets
:createXwalkCommandLineFileArmv7Release
:generateArmv7ReleaseResValues
:generateArmv7ReleaseResources
:mergeArmv7ReleaseResources
:processArmv7ReleaseManifest
:processArmv7ReleaseResources/workspace/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:24: AAPT: No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’

/workspace/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:24: error: No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’

FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:processArmv7ReleaseResources’.

com.android.ide.common.process.ProcessException: Failed to execute aapt

  • 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 mins 25.964 secs

  • Testcase:

  • Other information:

  • Webview engine(s):
    Webview

  • Used plugins (if relevant):

    2.4.0
    Crosswalk webview
    cordova-plugin-crosswalk-webview

    6.0.1
    File
    cordova-plugin-file

    3.0.0
    Inappbrowser
    cordova-plugin-inappbrowser

    1.3.3
    Whitelist
    cordova-plugin-whitelist

    latest
    Wkwebview engine
    cordova-plugin-wkwebview-engine

    0.1.2
    Indexeddb
    cordova-plugin-indexeddb

    4.0.1
    Geolocation
    cordova-plugin-geolocation

Any relevant plugins that you are using

  • Framework/game engine (if relevant):
    construct2

#2

UPDATE…
When I removed
cordova-plugin-crosswalk-webview
compile finished OK.

so what now?


#3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.