I have installed ionic and trying to build android to ionic. However, I face the below error.
execution failed for task:cordovalib:processdebugresources Build failed exception
Related
I'm trying to build an Android app with cordova (without Andorid studio) from macOS.
Tried to run cordova build android
and get this error -
`cordova.gradle' line: 69
What went wrong:
A problem occurred evaluating script.
No installed build tools found. Please install the Android build tools version 30.0.3.`
I am trying to run my react native project in Android Studio via the Emulator but the following error appears when attempting to run the project:
FAILURE: Build failed with an exception
What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
More than one file was found with OS independent path 'lib/x86/libc++_shared.so'
I followed the steps for setting up the development environment, https://reactnative.dev/docs/environment-setup.
I added org.gradle.jvmargs=-Xmx4608m to the gradle.properties as advised from another fix but it is still not running.
The project runs perfectly on iOS, Xcode but not for Android.
I am using 'compileSdkVersion = 31` in the /android/build.gradle file.
Can someone please help here?
I'm having an issue running cordova run android in my Ionic project. I've uninstalled and reinstalled Cordova, Ionic, Gradle, and Android Studio, yet I still get this following error.
FAILURE: Build failed with an exception.
Where:
Script 'path/platforms/android/cordova-android-play-services-gradle-release/app-cordova-android-play-services-gradle-release.gradle' line: 11
What went wrong:
A problem occurred evaluating script.
Could not read script 'path/platforms/android/app/cordova-android-play-services-gradle-release/properties.gradle' as it does not exist.
Question: How can I get this error to go away and my project to run successfully?
I am building an ionic application for my android project. when I try to build the app with the command "ionic build android", I'm getting the following error
FAILURE: Build failed with an exception.
*What went wrong:
Failed to load native library 'native-platform.dll' for windows 8.1 amd64.
What would be the problem? and suggest me some solutions.
I'm developing angularjs/ionic mobile application.
While running 'ionic build android' on CLI, I'm getting that error:
ERROR building one of the platforms: Error: C:\Users\Username\FirstProject\platfo
rms\android\cordova\build.bat: Command failed with exit code 2
You may not have the required environment or OS to build this project
i updated my android SDK Tools to be 24.3.3 but i'm getting the same error.