Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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:
    62
    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:
    62
    This was resolved in the most recent version of Project Tiny.