Home > Mobile >  Cordova build android when this error, can you tell me how should solve
Cordova build android when this error, can you tell me how should solve

Time:09-29

C: \ Users \ \ Administrator \. Gradle \ caches \ \ files transforms - 1-1.1 \ appcompat - v7-26.1.0. Aar \ ac54a0ace3996090bdb7ad492e3b5bcd/res/values/values. The XML: 246-5-69: AAPT: error: resource android: attr/fontVariationSettings not found.

C: \ Users \ \ Administrator \. Gradle \ caches \ \ files transforms - 1-1.1 \ appcompat - v7-26.1.0. Aar \ ac54a0ace3996090bdb7ad492e3b5bcd/res/values/values. The XML: 246-5-69: AAPT: error: resource android: attr/ttcIndex not found.

D: \ Code \ YSDA \ YSDA \ platforms \ android \ app \ build, intermediates, incremental, mergeDebugResources \ merged dir \ values \ values XML: 248: error: resource android: attr/fontVariationSettings not found.
D: \ Code \ YSDA \ YSDA \ platforms \ android \ app \ build, intermediates, incremental, mergeDebugResources \ merged dir \ values \ values XML: 248: error: resource android: attr/ttcIndex not found.
Error: failed linking the references.

CodePudding user response:

I use ionic3...

CodePudding user response:

PS D: \ code \ ysda \ ysda> Cordova build android
Cordova - android - support - gradle - release: the android platform: V7 +
Cordova - android - support - gradle - release: demonstrate the custom version '26. +' to D: \ code \ ysda \ ysda \ platforms \ android \ app \ build gra
Dle
Cordova - android - support - gradle - release: demonstrate the custom version '26. +' to D: \ code \ ysda \ ysda/platforms/android/cordova - andro
Id - support - gradle - release \ ZXH cordova - android - support - gradle - the gradle
Android Studio project detected
Cordova - android - support - gradle - release: the android platform: V7 +
Cordova - android - support - gradle - release: demonstrate the custom version '26. +' to D: \ code \ ysda \ ysda \ platforms \ android \ app \ build gra
Dle
Cordova - android - support - gradle - release: demonstrate the custom version '26. +' to D: \ code \ ysda \ ysda/platforms/android/cordova - andro
Id - support - gradle - release \ ZXH cordova - android - support - gradle - the gradle
ANDROID_HOME=C: \ Users \ Administrator \ AppData \ Local \ Android \ SDK
JAVA_HOME=E: \ Java \ jdk1.8.0 _91
Studio
Starting a Gradle Daemon (subsequent builds will be faster -)

BUILD SUCCESSFUL in 5 s
1 the actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
PublishNonDefault is deprecated and has no effect anymore. All variants are now published.
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
| cordova - android - support - gradle - release: 26 +
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Configuration 'compile' in the project: app 'is deprecated. Use' implementation 'home.
The Task. LeftShift (Closure) method has had been deprecated and is scheduled to be removed in Gradle 5.0. Both Please use Task. The doL
Ast (Action) home.
The at build_dxxuwns2wpt3q41rnhqfnnu3n. Run (D: \ Code \ YSDA \ YSDA \ platforms \ android \ app \ build gradle: 152)
: CordovaLib: preBuild the UP - TO - DATE
: CordovaLib: preDebugBuild the UP - TO - DATE
: CordovaLib: compileDebugAidl
: CordovaLib: compileDebugRenderscript
: CordovaLib: checkDebugManifest
: CordovaLib: generateDebugBuildConfig
: CordovaLib: prepareLintJar
: CordovaLib: generateDebugResValues
: CordovaLib: generateDebugResources
: CordovaLib: packageDebugResources
: CordovaLib: platformAttrExtractor
: CordovaLib: processDebugManifest
: CordovaLib: javaPreCompileDebug
: CordovaLib: processDebugJavaRes NO - SOURCE
App: preBuild the UP - TO - DATE
App: preDebugBuild
App: compileDebugAidl
: CordovaLib: packageDebugRenderscript NO - SOURCE
App: compileDebugRenderscript
App: checkDebugManifest
App: generateDebugBuildConfig
App: prepareLintJar
App: generateDebugResValues
App: generateDebugResources
App: mergeDebugResources
App: createDebugCompatibleScreenManifests
App: processDebugManifest
App: splitsDiscoveryTaskDebug
: app: compileDebugNdk NO - SOURCE
: CordovaLib: mergeDebugShaders
: CordovaLib: compileDebugShaders
: CordovaLib: generateDebugAssets
: CordovaLib: mergeDebugAssets
App: mergeDebugShaders
App: compileDebugShaders
App: generateDebugAssets
App: mergeDebugAssets
: CordovaLib: compileDebugNdk NO - SOURCE
: CordovaLib: mergeDebugJniLibFolders
: CordovaLib: transformNativeLibsWithMergeJniLibsForDebug
: CordovaLib: transformNativeLibsWithIntermediateJniLibsForDebug
App: mergeDebugJniLibFolders
: app: processDebugJavaRes NO - SOURCE
App: validateSigningDebug
: CordovaLib: processDebugResources
: CordovaLib: generateDebugSources
: CordovaLib: compileDebugJavaWithJavac? :? Щ???????????????????????????? API??
? :? й??????????? And????? - Xlint: deprecation??? +/-???

: CordovaLib: transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
: app: processDebugResourcesC: \ Users \ Administrator \. Gradle \ caches \ \ files - 1.1 \ appcompat transforms - 1 - v7-26.1.0. Aar \ ac54a0ace
3996090 bdb7ad492e3b5bcd/res/values/values. The XML: 246-5-69: AAPT: error: resource android: attr/fontVariationSettings not fou
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related