@Pangiovas wrote:
Hi, we created an app 2 years ago and never since then tried to rebuild app.
I dont want someone to solve my issue. I ask for what will the best step will be for me to act.Obviously i need to update libs. But how exactly and what actions will be better for this?
I have error log like this
Thank you for any comment
Build Date: 2019-05-09 09:31:50 +0000
PLUGIN OUTPUT
Fetching plugin “cordova-plugin-camera@^2.4.1” via npm
Installing “cordova-plugin-camera” at “2.4.1” for android
Fetching plugin “cordova-plugin-compat@^1.1.0” via npm
Installing “cordova-plugin-compat” at “1.2.0” for android
Subproject Path: CordovaLib
Plugin “cordova-plugin-compat” already installed on android. Making it top-level.
Fetching plugin “cordova-plugin-console@^1.0.5” via npm
Installing “cordova-plugin-console” at “1.1.0” for android
Fetching plugin “cordova-plugin-device@^1.1.4” via npm
Installing “cordova-plugin-device” at “1.1.7” for android
Fetching plugin “cordova-plugin-file-transfer@^1.6.3” via npm
Installing “cordova-plugin-file-transfer” at “1.7.1” for android
Fetching plugin “cordova-plugin-file@>=5.0.0” via npm
Installing “cordova-plugin-file” at “6.0.1” for android
Plugin doesn’t support this project’s cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0
Skipping ‘cordova-plugin-file’ for android
Fetching plugin “cordova-plugin-geolocation@^2.4.3” via npm
Installing “cordova-plugin-geolocation” at “2.4.3” for android
Plugin dependency “cordova-plugin-compat@1.2.0” already fetched, using that version.
Dependent plugin “cordova-plugin-compat” already installed on android.
Fetching plugin “cordova-plugin-network-information@^1.3.3” via npm
Installing “cordova-plugin-network-information” at “1.3.4” for android
Fetching plugin “cordova-plugin-splashscreen@^4.0.3” via npm
Installing “cordova-plugin-splashscreen” at “4.1.0” for android
Fetching plugin “cordova-plugin-statusbar@^2.2.1” via npm
Installing “cordova-plugin-statusbar” at “2.4.2” for android
Fetching plugin “cordova-plugin-whitelist@^1.3.1” via npm
Installing “cordova-plugin-whitelist” at “1.3.3” for androidThis 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.
Fetching plugin “cordova.plugins.diagnostic@^3.6.5” via npm
Installing “cordova.plugins.diagnostic” at “3.9.2” for android
Subproject Path: CordovaLib
Fetching plugin “ionic-plugin-keyboard@^2.2.1” via npm
Installing “ionic-plugin-keyboard” at “2.2.1” for android
Installing “com.phonegap.plugins.hydration” at “6.6.0” for android
Plugin dependency “cordova-plugin-network-information@1.3.4” already fetched, using that version.
Dependent plugin “cordova-plugin-network-information” already installed on android.
Plugin dependency “cordova-plugin-whitelist@1.3.3” already fetched, using that version.
Dependent plugin “cordova-plugin-whitelist” already installed on android.
Plugin dependency “cordova-plugin-file@6.0.1” already fetched, using that version.
Installing “cordova-plugin-file” at “6.0.1” for android
Plugin doesn’t support this project’s cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0
Skipping ‘cordova-plugin-file’ for android
Fetching plugin “phonegap-plugin-contentsync” via npm
Installing “phonegap-plugin-contentsync” at “1.4.2” for androidPROJECT PROPERTIES
This file is automatically generated by Android Tools.
Do not modify this file – YOUR CHANGES WILL BE ERASED!
This file must be checked in Version Control Systems.
To customize properties used by the Ant build system edit
“ant.properties”, and override values to adapt the script to your
project structure.
To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Project target.
target=android-25
android.library.reference.1=CordovaLib
cordova.system.library.1=com.android.support:support-v4:24.1.1+
cordova.system.library.2=com.android.support:support-v4:26.+
cordova.system.library.3=com.android.support:appcompat-v7:26.+COMPILE OUTPUT
Subproject Path: CordovaLib
Running command: /var/gimlet/tmp/47128621199960/3566384/project/gradlew cdvBuildDebug -b /var/gimlet/tmp/47128621199960/3566384/project/build.gradle -Dorg.gradle.daemon=true -Dorg.gradle.jvmargs=-Xmx2048m -Pandroid.useDeprecatedNdk=true
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_9keu3q5080gp8cimfwty6waq7.run(/var/gimlet/tmp/47128621199960/3566384/project/build.gradle:156)
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.
The ProjectDependency.getProjectConfiguration() method has been deprecated and is scheduled to be removed in Gradle 4.0.
ModuleDependency.getConfiguration() has been deprecated and is scheduled to be removed in Gradle 4.0. Use ModuleDependency.getTargetConfiguration() instead.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild 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
:prepareAndroidArchLifecycleRuntime100Library
:prepareComAndroidSupportAnimatedVectorDrawable2610Library
:prepareComAndroidSupportAppcompatV72610Library
:prepareComAndroidSupportSupportCompat2610Library
:prepareComAndroidSupportSupportCoreUi2610Library
:prepareComAndroidSupportSupportCoreUtils2610Library
:prepareComAndroidSupportSupportFragment2610Library
:prepareComAndroidSupportSupportMediaCompat2610Library
:prepareComAndroidSupportSupportV42610Library
:prepareComAndroidSupportSupportVectorDrawable2610Library
:prepareProjectCordovaLibUnspecifiedDebugLibrary
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources/var/gimlet/tmp/47128621199960/3566384/project/build/intermediates/res/merged/debug/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’./var/gimlet/tmp/47128621199960/3566384/project/build/intermediates/res/merged/debug/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’.
FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:processDebugResources’.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: 4.415 secs
Command finished with error code 1: /var/gimlet/tmp/47128621199960/3566384/project/gradlew cdvBuildDebug,-b,/var/gimlet/tmp/47128621199960/3566384/project/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
Error: /var/gimlet/tmp/47128621199960/3566384/project/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.
/var/gimlet/tmp/47128621199960/3566384/project/build/intermediates/res/merged/debug/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’./var/gimlet/tmp/47128621199960/3566384/project/build/intermediates/res/merged/debug/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’.
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:processDebugResources’.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.
at ChildProcess.whenDone (/var/gimlet/tmp/47128621199960/3566384/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
Posts: 1
Participants: 1