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

Files lost after building

Discussion in 'Android' started by silentalk, May 14, 2014.

  1. silentalk

    silentalk

    Joined:
    May 14, 2014
    Posts:
    2
    Sorry for my poor english.

    Assets\Plugins\Android\libs\mylib.jar

    $???.GIF

    mylib.jar contains a folder named res in which there are two files (file1 and file2).

    Build apk with Unity: the res folder will not be packed into apk.:confused:

    Build apk in eclipse: everything works ok.

    Unity version: 4.3.4f1
     
  2. Dzxyan

    Dzxyan

    Joined:
    Sep 23, 2013
    Posts:
    167
    How you can comfirm that the files from res folder didn't build in Unity?
    You need write it more details to let us know what happen when you build in Unity,
    maybe some error from your coding or build method?
     
  3. silentalk

    silentalk

    Joined:
    May 14, 2014
    Posts:
    2
    Thanks for your reply.

    What I do is unpacking the apk with android-apktool.

    And in the apk built with Unity there's no res folder and files.

    But in the apk built in eclipse all files are there.

    Is there any pluin for unity can fix this? Or did I have my build option wrong?