Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Build with Gradle in UCB

Discussion in 'Unity Cloud Build' started by liortal, Mar 13, 2017.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    2,909
    Are there any plans to support exporting an APK using Gradle in UCB? This option is available starting with Unity 5.5.

    IMO this is must, as it is pretty much the only way to resolve the dreaded 64k method references issue on Android.

    We are currently relying on UCB to produce our builds, so it is very important for us to have support for this.

    Also, since all the tools needed for this are installed as part of the unity installation, adding this feature should be fairly simple (unless i am missing something).
     
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    739
    It's being worked on. Will keep you updated when that becomes available.
     
    alexeibabin and liortal like this.
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    2,909
    Is there any estimate? Is it days? Weeks? Months time?
     
  4. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    739
    Being tested / verified now. Should go out later this week if everything goes well, otherwise next week at the latest.
     
  5. alexeibabin

    alexeibabin

    Joined:
    Feb 8, 2016
    Posts:
    4
    Great news :)
     
  6. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    739
    @liortal: gradle support went out today, but hasn't made it's way into the UI yet. If you PM which project/buildtarget I can enable it for you though.
     
  7. TheADrain

    TheADrain

    Joined:
    Nov 16, 2016
    Posts:
    48
    This is great news, and potentially perfect timing for us as we'd love to use gradle on cloud build. However, we now seem to be unable to build any android builds?

    At first I thought it was a configuration issue as I've just started putting out live environment builds for our project, and indeed it was set up incorrectly. However, I've been unable to build any android projects all day today so I'm beginning to wonder if something has gone wrong? It seems like we're seeing an error from the Facebook SDK that indicates OpenSSL isn't installed on the cloud build device?
     
  8. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    739
    @TheADrain - seems several others are having issues with Facebook SDK suddenly as well. We're investigating.
     
  9. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    739
    @TheADrain - should be fixed now. If you're still having trouble building, let me know.
     
  10. TheADrain

    TheADrain

    Joined:
    Nov 16, 2016
    Posts:
    48
    It is working perfectly now, thanks for the rapid response.
     
  11. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    2,909
    We have a custom proguard template. the build seems to fail during proguard (danny - i PM'd you now about this)
     
  12. lilboylost

    lilboylost

    Joined:
    Feb 12, 2014
    Posts:
    258
    I still can't find it the UI , is it there yet?
     
  13. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    739
    From the "Config" page, it's under "Advanced Options" for any android targets.
    Screen Shot 2018-08-13 at 9.50.36 AM.png


    Here it is on the "Advanced Options" page:

    Screen Shot 2018-08-13 at 9.48.08 AM.png
     
  14. lilboylost

    lilboylost

    Joined:
    Feb 12, 2014
    Posts:
    258

    I do not see any such option , is it in beta or so?

    ucb-build-android.png
     
  15. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    739
    It only shows up for targets configured with Unity 5.5 and above, as those are the versions of Unity that officially support it. And no, it's not in beta.

    Also, it may not show up on the page you pasted a screenshot of until you've actually configured it. Does it show up as an option if you click "Edit Advanced Options"?