Missing native-platform.dll error - android

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.

Related

cordova build android failed with exception

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.`

Build failed when attempting to launch react native project via Android Studio

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?

Can't run cordova run android in Ionic project

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?

Execution failed for task ':CordovaLib:compileDebugRenderscript'. > llvm-rs-cc is missing

I am new to mobile app technology. I am trying to configure my system (in Ubuntu 16.04) for apk installation. After I run the following command in terminal
sudo ionic cordova run android
I got the following error
:CordovaLib:compileDebugRenderscript FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':CordovaLib:compileDebugRenderscript'.
> llvm-rs-cc is missing
I searched about it , but I couldn't find an accurate answer.
Thanks in advance.
So I found myself the solution to this problem. Its because of the version difference of build-tools inside my sdk folder. Updating to latest build-tools version will solve this problem.

Android Build Failed - Ionic

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

Categories

Resources