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.

Can a project tiny app be built for android?

Discussion in 'Project Tiny' started by ry511, Nov 25, 2020.

  1. ry511

    ry511

    Joined:
    Jul 24, 2016
    Posts:
    60
    I have a project tiny app that I want to make an android build of to test things out.

    When I switch platforms in the build settings however I get a bunch of errors like: "Library\PackageCache\com.unity.tiny@0.29.0-preview.22\Unity.Tiny.Image2D.Authoring\libwebp\WebpEncoder.cs(192,20): error CS0103: The name 'LibName' does not exist in the current context"


    I dug into the WebpEncoder.cs file and there is a section that says:
    #if UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX
    const string LibName = "libwebp";
    #elif UNITY_STANDALONE_LINUX
    const string LibName = "webp";
    #endif

    So I assume I need a statement to set LibName for android but dont know what to set there. Is project tiny ready to be built for android?

    Thanks in advance
     
  2. ry511

    ry511

    Joined:
    Jul 24, 2016
    Posts:
    60
    This was resolved in the most recent version of Project Tiny.