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

Could not find aapt2-proto.jar

Discussion in '2018.3 Beta' started by sophiepeithos, Oct 24, 2018.

  1. sophiepeithos

    sophiepeithos

    Joined:
    Sep 10, 2014
    Posts:
    59

    Attached Files:

  2. faustofonseca

    faustofonseca

    Joined:
    Oct 19, 2013
    Posts:
    10
  3. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Same problem here , tryed changing the repositories order, but does not change anything ... It keeps trying to find the aapt2-proto in the jcenter repository (and fail...)
     
  4. NinjaCat

    NinjaCat

    R&D Minion

    Joined:
    Aug 22, 2013
    Posts:
    69
    Hi, we're aware of the issues. There's a workaround:
    Use a custom gradle template file (can be activated through Player Settings > Publishing Settings) and inside swap the jcenter() and google() repositories so that google() would appear before jcenter(). This should solve the problem.
     
  5. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Hi, thanks for the feedback, but as I stated in an other thread, the workaround does not work if you have some native plugins in the Android folder, as the build process will generate a "build.gradle" file for each plugin, with the wrong repository order.