Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task :unityLibrary:BuildIl2CppTask FAILED #11

Open
satyatechno opened this issue Dec 30, 2022 · 1 comment
Open

Task :unityLibrary:BuildIl2CppTask FAILED #11

satyatechno opened this issue Dec 30, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation solved This issue contains the solution inside it

Comments

@satyatechno
Copy link

**Execution failed for task ':unityLibrary:BuildIl2CppTask'.

A problem occurred starting process 'command '/Users/satyamsen/satyam/gameApp/unity/builds/android/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/netcoreapp3.1/il2cpp.exe''**

I am facing this issue
if you have any solution please share with me
Thanks

@ronakYudiz
Copy link

I have solve this error with below steps:
Steps:

  1. Go to the location of Unity's NDK. In my case it was under /Applications/Unity/Hub/Editor/2020.3.15f2/PlaybackEngines/AndroidPlayer/NDK like in @roberto-donext case. Your location may vary based on OS.
  2. Open the source.properties file and look for the NDK version used, for example Pkg.Revision = 21.3.6528147
  3. Go to Android Studio and under the SDK manager download the same NDK version unity is using. (Don't forget to check "Show package details" to see a list of all NDK versions.
  4. Once the download is complete go to unityLibrary/build.gradle and configure that version inside the top android { }. For example ndkVersion "21.3.6528147"
  5. Build

@mortend mortend added documentation Improvements or additions to documentation solved This issue contains the solution inside it labels Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation solved This issue contains the solution inside it
Projects
None yet
Development

No branches or pull requests

3 participants