Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Install Android build tools for cross compilation - #388

Merged
bors-servo merged 1 commit into
servo:masterfrom
aneeshusa:install-android-build-tools
Jun 20, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
aneeshusa:install-android-build-tools

Conversation

@aneeshusa

@aneeshusa aneeshusa commented May 27, 2016 •

Copy link
Copy Markdown
Contributor

The Android build tools are required for building an APK.
They are versioned separately from the SDK and do not have a version
requirement - best practice is to use the latest (stable) release.

After servo/servo#11406 landed, I forced an android-nightly build, which now gets further but still fails. The new failure is http://build.servo.org/builders/android-nightly/builds/60/steps/shell_1/logs/stdio, so install the build tools to fix this.

Edit: relevant error for posterity:

BUILD FAILED
/home/servo/android/sdk/current/tools/ant/build.xml:483: SDK does not have any Build Tools installed.

Another step for servo/servo#10339.

I think this would benefit from #374 - I had a lot of errors trying to get the android tool to install the build tools where blowing away the directory fixed it. I think the --all parameter should take care of it, but I'd like to be more sure.


This change is Reviewable

The Android build tools are required for building an APK.
They are versioned separately from the SDK and do not have a version
requirement - best practice is to use the latest (stable) release.
@aneeshusa

Copy link
Copy Markdown
Contributor Author

May also help with servo/servo#8464, since we can depend on a more stable version of the build tools. (We can just require the same build tools version for packagers that we run on the CI, at least for now.)

@edunham

edunham commented Jun 20, 2016

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 97391de has been approved by edunham

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 97391de with merge 3db85a1...

bors-servo pushed a commit that referenced this pull request Jun 20, 2016
Install Android build tools for cross compilation

The Android build tools are required for building an APK.
They are versioned separately from the SDK and do not have a version
requirement - best practice is to use the latest (stable) release.

After servo/servo#11406 landed, I forced an android-nightly build, which now gets further but still fails. The new failure is http://build.servo.org/builders/android-nightly/builds/60/steps/shell_1/logs/stdio, so install the build tools to fix this.

Edit: relevant error for posterity:
```
BUILD FAILED
/home/servo/android/sdk/current/tools/ant/build.xml:483: SDK does not have any Build Tools installed.
```

Another step for servo/servo#10339.

I think this would benefit from #374 - I had a lot of errors trying to get the android tool to install the build tools where blowing away the directory fixed it. I think the --all parameter should take care of it, but I'd like to be more sure.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/388)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - travis

@bors-servo
bors-servo merged commit 97391de into servo:master Jun 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants