I can't compile today. please help. I don't know what's wrong


#1

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:07:31.090] [DEBUG] AndroidBuilder - e[39m[prepare] cordova restore platforms
e[36m[2018-06-03 13:07:31.104] [DEBUG] AndroidBuilder - e[39m[prepare] adding engine android@6.2.3
Subproject Path: CordovaLib
Subproject Path: CordovaLib
Subproject Path: CordovaLib
(node:21566) DeprecationWarning: ‘root’ is deprecated, use ‘global’
e[36m[2018-06-03 13:07:35.545] [DEBUG] AndroidBuilder - e[39m[prepare] cordova restore plugins
e[36m[2018-06-03 13:07:35.547] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin com.ludei.defaultres.android@1.0.1
e[36m[2018-06-03 13:07:35.575] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin com.ludei.installlocation.android@*
e[36m[2018-06-03 13:07:35.605] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin com.ludei.usericon.android@1.0.1
e[36m[2018-06-03 13:07:35.629] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin cordova-plugin-crosswalk-webview@*
e[36m[2018-06-03 13:07:35.651] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin cordova-plugin-inappbrowser@*
e[36m[2018-06-03 13:07:35.671] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin cordova-plugin-whitelist@*
e[36m[2018-06-03 13:07:35.690] [DEBUG] AndroidBuilder - e[39m[prepare] adding plugin https://github.com/CocoonIO/cocoon-plugin-android-architecture.git
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

skipping existing file: architecture.gradle
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

skipping existing file: architecture.gradle
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

e[36m[2018-06-03 13:07:37.856] [DEBUG] AndroidBuilder - e[39m[build]
e[36m[2018-06-03 13:07:37.857] [DEBUG] AndroidBuilder - e[39m[build] create certs folder
e[36m[2018-06-03 13:07:37.857] [DEBUG] AndroidBuilder - e[39m[build] keystore
e[36m[2018-06-03 13:07:38.037] [DEBUG] AndroidBuilder - e[39m[build] create release build.json
e[36m[2018-06-03 13:07:38.038] [DEBUG] AndroidBuilder - e[39m[build] call cordova
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

skipping existing file: architecture.gradle
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

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, 8 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_915ox5b5n9wx4fg5hfw3mzsud.run(/workspace/platforms/android/build.gradle:139)
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.676 secs

I just compile it like usual but today it’s doesn’t look like it gonna work. I don’t know what’s wrong.


#2

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

devs?


#3

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


#4

Change “the engine” (this is what I called it) to webview to webview+. It work for me


#5

yea… webview+ works but unfortunatly for me it produces wierd artefacts on screen so i cant use it.


#6

I get the same sort of error today. Can not compile any more.

Execution failed for task ‘:transformClassesWithDexForArmv7Release’.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzabt;


#7

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