'Unity Editor - stuck at building native binary with IL2CPP

I have an Unity project and planning to embed it in Android studio as a library. I followed https://medium.com/@davidbeloosesky/embedded-unity-within-android-app-7061f4f473a on how to do that. When building the unity project, im stuck at building native binary with IL2CPP in the unity editor. What is wrong here? :(



Solution 1:[1]

Not sure how, but this solved the issue for me:

  • Windows Key + R
  • Type in "regedit"

Do this while it is stuck and it should start working again.

Solution 2:[2]

I have found solution for this. If you are using Visual Studio for Unity, you just need to install "Desktop development with c++" module to it. You can install it by Visual Studio Installer.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Just Azik