Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity Android Exporting Problem

Discussion in 'Editor & General Support' started by MecoCL, Apr 30, 2021.

  1. MecoCL

    MecoCL

    Joined:
    Mar 10, 2021
    Posts:
    7
    Hi everyone! So I downloaded Unity 2021 with the Android support data and that stuff, I just wanted to build my VN game that was generated by Fungus, but when I try to build the game, when it reach "PostProcess" it says that the build failed and it doesn't export the APK or ABB file, and it showed me 2 errors on the console:
    (Errors are on the photo)
    Is there anyway to fix this error guys? Plz i need help!
     

    Attached Files:

    Last edited: Apr 30, 2021
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,749
    Start with a new blank project, just save and connect the default scene, make sure that builds correctly.

    Don't attempt anything with your actual project until you get the toolchain fully installed and configured according to the docs.
     
  3. MecoCL

    MecoCL

    Joined:
    Mar 10, 2021
    Posts:
    7
    I already did that, i created a new empty project and i tried to export and it showed me the same error :(
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,749
    Then it's definitely some important step missing in your install. I would recommend uninstalling and reinstalling, paying attention to the parts necessary for Android to work: SDK, NDK, Java, etc. Make sure they are all the version recommended for the version of Unity, etc.

    Welcome to Android. Welcome to Java. Yes, it's always been that bad.
     
  5. MecoCL

    MecoCL

    Joined:
    Mar 10, 2021
    Posts:
    7
    I did! All my programs SDK and JDK and NDK and even Gradle are up to date! I even Installed them from Unity!
     

    Attached Files:

    Last edited: May 1, 2021
  6. MecoCL

    MecoCL

    Joined:
    Mar 10, 2021
    Posts:
    7
    Well, I fixed my problem by downloading and installing NET.Framework 4.8, when i installed it, everything is back to normal again!