Uh oh!
There was an error while loading. Please reload this page.
Android O Preview support - #514
Conversation
atsushieno
commented
Mar 22, 2017
It also depends on dotnet/java-interop#134 (Java.Interop is not bumped yet) |
How to try to build O preview: |
| <DestDir>platform-tools</DestDir> | ||
| </AndroidSdkItem> | ||
| <AndroidSdkItem Include="tools_r24.4.1-macosx.zip"> | ||
| <AndroidSdkItem Include="tools_r25.3.1-macosx.zip"> |
There was a problem hiding this comment.
Alas, a tools bump likely means we'll need to deal with the android deprecation, since src/sqlite-xamarin/sqlite-xamarin.targets uses android create project, which no longer exists.
Ouch. :-(
There was a problem hiding this comment.
Unable to download URL `https://dl-ssl.google.com/android/repository/tools_r25.3.1-macosx.zip` to `/Users/builder/android-archives/tools_r25.3.1-macosx.zip`: 404 (Not Found)
There was a problem hiding this comment.
I am aware of all those download failures. I have no idea what the correct URLs are.
There was a problem hiding this comment.
There's also "where should those unstable API stuff go?" problem...
There was a problem hiding this comment.
There's also "where should those unstable API stuff go?" problem...
I don't understand the question.
There was a problem hiding this comment.
My natural assumption on the Android SDK Tooling is that SDK Tools r25.3.1 and perhaps newer build-tools are required to support Android O API. At least we have to install "platform-O" things. But they are not available via the old Android SDK Manager (in the old SDK Tools). And that new SDK Tools version is only available as Beta version (Beta, Alpha or Canary). That means, to include Android O API support we will have to switch to Beta SDK Tools, even though our stable API is still 24 or 25.
| <DestDir>build-tools\$(XABuildToolsVersion)</DestDir> | ||
| </AndroidSdkItem> | ||
| <AndroidSdkItem Include="platform-tools_r23-macosx.zip"> | ||
| <AndroidSdkItem Include="platform-tools_r26.0.0-rc1-macosx.zip"> |
There was a problem hiding this comment.
Unable to download URL `https://dl-ssl.google.com/android/repository/platform-tools_r26.0.0-rc1-macosx.zip` to `/Users/builder/android-archives/platform-tools_r26.0.0-rc1-macosx.zip`: 404 (Not Found)
| <AllSupported64BitTargetAndroidAbis>arm64-v8a;x86_64</AllSupported64BitTargetAndroidAbis> | ||
| <AllSupportedTargetAndroidAbis>$(AllSupported32BitTargetAndroidAbis);$(AllSupported64BitTargetAndroidAbis)</AllSupportedTargetAndroidAbis> | ||
| <XABuildToolsVersion>25.0.1</XABuildToolsVersion> | ||
| <XABuildToolsVersion>26.0.0-rc1</XABuildToolsVersion> |
There was a problem hiding this comment.
build-tools_r26.0.0-rc1-macosx.zip doesn't exist causing a failure:
Unable to download URL `https://dl-ssl.google.com/android/repository/build-tools_r26.0.0-rc1-macosx.zip` to `/Users/builder/android-archives/build-tools_r26.0.0-rc1-macosx.zip`: 404 (Not Found)
4746506 to
9e4f1fbCompareatsushieno
commented
Mar 23, 2017
For future reference, the updated catalog was found at https://dl-ssl.google.com/android/repository/repository2-1.xml . Hopefully it builds now (it did locally). |
0e695a0 to
a9cb319Comparejonpryor
commented
Mar 24, 2017
@atsushieno: The builds are breaking because Please rebase on fc22191 or later, which simplifies |
atsushieno
commented
Mar 25, 2017
It is not WIP anymore, but I have no idea why Jenkins does not trigger actual builds. |
jonpryor
commented
Mar 26, 2017
build |
jonpryor
commented
Mar 26, 2017
@atsushieno: It is triggering actual builds, the builds just fail instantly: Given that I have to believe that I'm not sure why this would be generating an error; we'll need to try this on the target machine. |
0e42c59 to
f72971aCompareatsushieno
commented
Mar 27, 2017
After merging master I could reproduce this, and made some fixes in Configuration.props (there was tag mismatch that I didn't notice when I was building it with overrides for O) and BuildEverything.mk. Let's see if it builds |
| <MonoSgenBridgeVersion Condition=" '$(MonoSgenBridgeVersion)' == '' ">5</MonoSgenBridgeVersion> | ||
| <HOME Condition=" '$(HOME)' == '' ">$(HOMEDRIVE)$(HOMEPATH)</HOME> | ||
| <AndroidApiLevel Condition=" '$(AndroidApiLevel)' == '' ">25</AndroidApiLevel> | ||
| <AndroidPlatformId Condition=" '$(AndroidPlatformId)' == '' ">25</AndroidPlatformId> |
There was a problem hiding this comment.
What about making this $(AndroidApiLevel) instead so that the existing build documentation (i.e. only having to specify AndroidApiLevel and AndroidFrameworkVersion to build/override in Configuration.Overrides.props) stays valid?
There was a problem hiding this comment.
Do you mean, the default value i.e. <AndroidPlatformId Condition=" '$(AndroidPlatformId)' == '' ">$(AndroidApiLevel)</AndroidPlatformId> ? Yeah that'd be better.
e151f86 to
ef06634Compare| public override bool Execute () | ||
| { | ||
| var licdir = Path.Combine (Path.Combine (AndroidSdkDirectory, "licenses")); | ||
| if (!Directory.Exists (licdir)) |
There was a problem hiding this comment.
This if isn't necessary; Directory.CreateDirectory() doesn't throw if the directory already exists.
ca78e09 to
e48f8edCompareatsushieno
commented
Apr 4, 2017
Updated the commit message to explain what has caused the big changes. |
effc65c to
de32868Compare15c7f92 to
1f6f18cCompareatsushieno
commented
Apr 18, 2017
build |
6c2e85b to
9cfb7baCompare| <DestDir>extras\android\m2repository</DestDir> | ||
| <DestDir>platforms\android-O</DestDir> | ||
| </AndroidSdkItem> | ||
| <AndroidSdkItem Include="docs-24_r01.zip"> |
There was a problem hiding this comment.
We should continue installing docs.zip.
The changes are big due to the structural changes in Android SDK, particularly that "android" command line tool is gone and they had to be rewritten. Samples that depended on "create" or "update" command had to be checked in as already-created state so that they don't have to bring further dependencies. Changes in the library (Mono.Android) itself is not very big at all.
No description provided.