Home > Mobile >  An error under MAC OS build cordova android environment
An error under MAC OS build cordova android environment

Time:09-16

Who pass by great god gives directions, how to deal with the following problem,
In cordova the build the android times wrong, wrong information is as follows:

FAILURE: the Build failed with an exception.

* What went wrong:
Execution failed for task ': CordovaLib: processDebugResources'.
Com.android.ide.com mon. Process. ProcessException: Failed to execute aapt

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

Cordova requirements
Requirements check results for android:
Java JDK: installed 1.8.0 comes with
The Android SDK: installed true
Android target: installed Android - 29, Android - 27, Android - 26, Android - 25, Android - 24, Android - 23, Android - 22, Android - 21
Gradle: installed/Applications/Android Studio. The app/Contents/Gradle/Gradle - 4.1/bin/Gradle

Ionic info
Ionic:

Ionic:

Ionic (ionic CLI) : 4.1.2 (/Users/wangli/NVM/versions/node/v10.13.0/lib/node_modules/ionic)
Ionic Framework: ionic1 1.3.5
@ ionic/v1 - toolkit: not installed

Cordova:

Cordova cordova (CLI) : 8.0.0
Cordova Platforms: android 6.3.0
Cordova Plugins: no whitelisted Plugins (26 Plugins total)

System:

The Android SDK Tools: 26.1.1 (/Users/wangli/Library/Android SDK)
Ios - deploy: 1.10.0
NodeJS: v10.13.0 (/Users/wangli/NVM/versions/node/v10.13.0/bin/node)
NPM: 6.4.1
OS: macOS
Xcode: Xcode 10.1 Build version 10 b61


CodePudding user response:

This is not an Android BBS?
  • Related