Error compiling for noreason. can anyone help?


#1

here’s the Log

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.
ERROR: In FontFamilyFont, unable to find attribute android:font
ERROR: In FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In FontFamilyFont, unable to find attribute android:fontWeight
ERROR: In FontFamilyFont, unable to find attribute android:ttcIndex

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:

e[36m[2018-06-03 13:18:17.216] [DEBUG] AndroidBuilder - e[39m[prepare] cordova restore platforms
e[36m[2018-06-03 13:18:17.228] [DEBUG] AndroidBuilder - e[39m[prepare] adding engine android@6.2.3
Subproject Path: CordovaLib
Subproject Path: CordovaLib
(node:17598) DeprecationWarning: ‘root’ is deprecated, use ‘global’
e[36m[2018-06-03 13:18:21.750] [DEBUG] AndroidBuilder - e[39m[prepare] cordova restore plugins
e[36m[2018-06-03 13:18:21.751] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin com.ludei.defaultres.android@1.0.1
e[36m[2018-06-03 13:18:21.781] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin com.ludei.installlocation.android@*
e[36m[2018-06-03 13:18:21.801] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin com.ludei.usericon.android@1.0.1
e[36m[2018-06-03 13:18:21.831] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin cordova-plugin-crosswalk-webview@*
e[36m[2018-06-03 13:18:21.851] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin cordova-plugin-inappbrowser@*
e[36m[2018-06-03 13:18:21.870] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin cordova-plugin-whitelist@*
e[36m[2018-06-03 13:18:23.291] [DEBUG] AndroidBuilder - e[39m[build]
e[36m[2018-06-03 13:18:23.292] [DEBUG] AndroidBuilder - e[39m[build] create certs folder
e[36m[2018-06-03 13:18:23.292] [DEBUG] AndroidBuilder - e[39m[build] keystore
e[36m[2018-06-03 13:18:23.554] [DEBUG] AndroidBuilder - e[39m[build] create release build.json
e[36m[2018-06-03 13:18:23.555] [DEBUG] AndroidBuilder - e[39m[build] call cordova
ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
Subproject Path: CordovaLib
Starting a Gradle Daemon, 11 stopped Daemons could not be reused, use --status for details
null
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_53e8pukiqml2qysdj1n0zir15.run(/workspace/platforms/android/build.gradle:138)
org.xwalk:xwalk_core_library:23+
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
: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
:prepareAndroidArchCoreRuntime110Library
:prepareAndroidArchLifecycleLivedataCore110Library
:prepareAndroidArchLifecycleRuntime110Library
:prepareAndroidArchLifecycleViewmodel110Library
:prepareComAndroidSupportAsynclayoutinflater2800Alpha1Library
:prepareComAndroidSupportCoordinatorlayout2800Alpha1Library
:prepareComAndroidSupportCursoradapter2800Alpha1Library
:prepareComAndroidSupportCustomview2800Alpha1Library
:prepareComAndroidSupportDocumentfile2800Alpha1Library
:prepareComAndroidSupportDrawerlayout2800Alpha1Library
:prepareComAndroidSupportInterpolator2800Alpha1Library
:prepareComAndroidSupportLoader2800Alpha1Library
:prepareComAndroidSupportLocalbroadcastmanager2800Alpha1Library
:prepareComAndroidSupportPrint2800Alpha1Library
:prepareComAndroidSupportSlidingpanelayout2800Alpha1Library
:prepareComAndroidSupportSupportCompat2800Alpha1Library
:prepareComAndroidSupportSupportCoreUi2800Alpha1Library
:prepareComAndroidSupportSupportCoreUtils2800Alpha1Library
:prepareComAndroidSupportSupportFragment2800Alpha1Library
:prepareComAndroidSupportSupportMediaCompat2800Alpha1Library
:prepareComAndroidSupportSupportV42800Alpha1Library
:prepareComAndroidSupportSwiperefreshlayout2800Alpha1Library
:prepareComAndroidSupportViewpager2800Alpha1Library
:prepareOrgApacheCordovaCordovaLib623ReleaseLibrary
:prepareOrgXwalkXwalk_core_library23535894Library
:prepareArmv7ReleaseDependencies
:compileArmv7ReleaseAidl
:compileArmv7ReleaseRenderscript
:generateArmv7ReleaseBuildConfig
:mergeArmv7ReleaseShaders
:compileArmv7ReleaseShaders
:generateArmv7ReleaseAssets
:mergeArmv7ReleaseAssets
:createXwalkCommandLineFileArmv7Release
:generateArmv7ReleaseResValues
:generateArmv7ReleaseResources
:mergeArmv7ReleaseResources
:processArmv7ReleaseManifest
:processArmv7ReleaseResourcesERROR: In FontFamilyFont, unable to find attribute android:font
ERROR: In FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In FontFamilyFont, unable to find attribute android:fontWeight
ERROR: In FontFamilyFont, unable to find attribute android:ttcIndex

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: 30.1 secs

I don’t know what’s wrong please help @andy_reitberger or anyone
Thanks!!


#2

But compile dev. app work perfectly… :frowning:


#3

same here:

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

HELP!!!


#4

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

but what now… how to proceed without it?


#5

I don’t if this will work for you. But what I try is use webview+ instead of webview and it work perfectly


#6

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