Hello,
Is there an ETA when Android API level 29 will be supported with UCB?
Hello,
Is there an ETA when Android API level 29 will be supported with UCB?
According to this page it’s still not present it the list =(
While Android 10 devices are already available for purchase.
Hi, I was wondering if there had been any progress on this yet? When I try to build with API 29 it seems to make an attempt to install the API but then fails:
515: [Unity] ERROR:
516: [Unity] ERROR:
517: [Unity] ERROR: January 16, 2019
518: [Unity] ERROR: ---------------------------------------
519: [Unity] ERROR: Accept? (y/N): [=== ] 10% Installing Android SDK Platform 29
520: [Unity] ERROR:
521: [Unity] ERROR: [=== ] 10% Installing Android SDK Platform 29
522: [Unity] Warning: Failed to read or create install properties file.
523: [Unity] Warning: Failed to read or create install properties file.
524: [Unity] at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00031] in <5557b445b4634c46b2ec8376c040bd34>:0
525: [Unity] at UnityEditor.Android.Command.RunWithStdin (System.Diagnostics.ProcessStartInfo psi, System.String errorMsg, System.Collections.Generic.IEnumerable`1[T] input) [0x00084] in <5557b445b4634c46b2ec8376c040bd34>:0
526: [Unity] at UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg, System.String toolsDir) [0x0005b] in <5557b445b4634c46b2ec8376c040bd34>:0
527: [Unity] at UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg) [0x00001] in <5557b445b4634c46b2ec8376c040bd34>:0
528: [Unity] Finished exporting player successfully.
529: ! build of 'android_target' failed. ! build failed - export directory is empty!
530: publishing finished successfully.
531: Finished: FAILURE
Which versions of Unity are you running? I was told that API Level 29 should be enabled independent of any SDK but that was apparently incorrect information. We’re currently running SDK 29 against 2019.3+ versions but I don’t recommend updating to that since it is still in RC. I will try enabling SDK 29 for the versions you are running and we can see if that resolves the issue.
I just updated 2018.4.13f1, 2019.1.14f1 and 2019.2.15f1 to use Android SDK 29, let me know if this helps!
Thanks @victorw - I’ll give that a go and see how I get on!
Hi @victorw , sorry for the slow reply but I only just got around to trying that out. Unfortunately we still seem to get the same error even when setting the cloud config to 2019.2.15f1. Here’s the error I get:
1614: [Unity] ERROR: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
1615: [Unity] ERROR: Warning: Failed to read or create install properties file.
1616: [Unity] Warning: Failed to read or create install properties file.
1617: [Unity] ERROR: Loading package information...
1618: [Unity] ERROR: Loading local repository...
1619: [Unity] ERROR: [ ] 3% Loading local repository...
1620: [Unity] ERROR: [ ] 3% Fetch remote repository...
1621: [Unity] ERROR: [ ] 3% Fetch remote repository...
1622: [Unity] ERROR: [= ] 3% Fetch remote repository...
1623: [Unity] ERROR: [= ] 3% Fetch remote repository...
1624: [Unity] ERROR: [= ] 3% Fetch remote repository...
1625: [Unity] ERROR: [= ] 3% Fetch remote repository...
...
1651: [Unity] ERROR: [=== ] 10% Installing Android SDK Platform 29
1652: [Unity] Warning: Failed to read or create install properties file.
1653: [Unity] Warning: Failed to read or create install properties file.
1654: [Unity] at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00031] in <21da158cd428404389e0b5a08ba9ea0a>:0
1655: [Unity] at UnityEditor.Android.Command.RunWithStdin (System.Diagnostics.ProcessStartInfo psi, System.String errorMsg, System.Collections.Generic.IEnumerable`1[T] input) [0x00084] in <21da158cd428404389e0b5a08ba9ea0a>:0
1656: [Unity] at UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg, System.String toolsDir) [0x0005b] in <21da158cd428404389e0b5a08ba9ea0a>:0
1657: [Unity] at UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg) [0x00001] in <21da158cd428404389e0b5a08ba9ea0a>:0
1658: [Unity] Finished exporting player successfully.
1659: ! build of 'android_build' failed. ! build failed - export directory is empty!
1660: publishing finished successfully.
1661: Finished: FAILURE
Can you raise a suport ticket for that project? That way we can take a closer look at what’s going wrong.
Thanks, I’ll do that just now.
Just a quick update to say this is working ok now in case anyone else has the same issue (fixed by @victorw and Ollie)
Please can you tell me which minimum version for API level 29 I need to use ? Currently I am using the version of 2018.2 …
2018.2 is no longer supported (and hasn’t been for over a year), for the most direct path you should upgrade to 2018.4 as this is the closest matching LTS version
In 2018.4.2 I am getting the API level 28. I have clicked on the automatic (highest installed ). I want the API level 29 !! please help me ???
Try using a newer version of 2018.4 i.e. 2018.4.24f1. There should be no breaking changes between 2f1 and 24f1, and 2f1 is several years old so likely does not include support for API level 29. Also, it sounds like you are not using Unity Cloud Build so you will have to make sure you have updated your Android SDK to the latest version.
FYI I split off the rest of this discussion since people were discussing local builds and that would have better visibility and relevance in the Android forums. I’m also going to lock this thread since I did not see any further reports related to UCB - feel free to start a new thread or open a support ticket if you see any new issues with Android in UCB.