Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK tools is out of date on Android #6040

Closed
jsotuyod opened this issue May 12, 2016 · 2 comments
Closed

SDK tools is out of date on Android #6040

jsotuyod opened this issue May 12, 2016 · 2 comments
Labels

Comments

@jsotuyod
Copy link

@jsotuyod jsotuyod commented May 12, 2016

Defining

android:
    components:
        - tools

is supposed to install the latest Android SDK Tools available, which at the time of this writing is 25.1.3. However, on Travis it's currently installing 24.4.1. This causes differences between our local builds and Travis (for instance, lint rules changed, 24.4 defined an show stopper error on missing App Indexing metadata, on 25 that's gone).

Since the rule is gone un 25, defining a warning level for that rule will make Travis pass but local builds on 25 fail on an invalid config for an unknown rule.

@BanzaiMan
Copy link
Member

@BanzaiMan BanzaiMan commented May 12, 2016

I believe you need to install more components, something like #5036 (comment).

The update issue is separate (see #5048).

I'm closing this as a duplicate.

@BanzaiMan BanzaiMan closed this May 12, 2016
@BanzaiMan BanzaiMan added the android label May 12, 2016
@BanzaiMan
Copy link
Member

@BanzaiMan BanzaiMan commented May 16, 2016

OK, so I did look at this a bit more closely, and it turns out you would need a little more ingenuity.

What I found that works to get Android SDK 25.1.x working is:

android:
  components:
    - tools # to get the new `repository-11.xml`
    - tools # to install Android SDK tools 25.1.x (x = 6 right now)# rest
CristianGM added a commit to AdevintaSpain/Leku that referenced this issue Aug 4, 2016
zsavely added a commit to zsavely/TravisMultipleEmulators that referenced this issue Aug 10, 2016
sakuna63 pushed a commit to sakuna63/Sandbox-Android that referenced this issue Aug 15, 2016
Mauin added a commit to Mauin/whorlwind that referenced this issue Aug 21, 2016
matthiaswenz added a commit to bitstadium/HockeySDK-Android that referenced this issue Aug 23, 2016
osfans added a commit to osfans/trime that referenced this issue Aug 31, 2016
games-neox added a commit to games-neox/Lazy that referenced this issue Sep 29, 2016
objective: fix proposal from: travis-ci/travis-ci#6040 (comment)
games-neox added a commit to games-neox/Lazy that referenced this issue Sep 29, 2016
objective: fix proposal from: travis-ci/travis-ci#6040 (comment)
kubode pushed a commit to kubode/Wiggle that referenced this issue Oct 3, 2016
BlackbladeShiraishi added a commit to BlackbladeShiraishi/moefm that referenced this issue Oct 13, 2016
ok100 pushed a commit to BeaCodeFIIT/app-android that referenced this issue Oct 17, 2016
Includes workaround for travis-ci/travis-ci#6040
miguelandres added a commit to material-foundation/material-remixer-android that referenced this issue Nov 10, 2016
* Add Travis configuration
  * Notice Travis installs old tools by default, and you have to work around it by installing them twice. See travis-ci/travis-ci#6040 (comment)
* De-lint Remixer before travis integration
* Add travis and codecov badges
* Remove proguarding for quicker builds
vincentbernat added a commit to vincentbernat/dashkiosk-android that referenced this issue Nov 11, 2016
The tools need to be installed twice to be up-to-date. Credits to
travis-ci/travis-ci#6040.
kubode pushed a commit to kubode/ImmediateLooperScheduler that referenced this issue Nov 13, 2016
mendhak added a commit to mendhak/gpsmapper that referenced this issue Nov 18, 2016
niltonvasques added a commit to niltonvasques/mathjs-android that referenced this issue Nov 20, 2016
…oid tools
cs-victor-nascimento added a commit to concretesolutions/canarinho that referenced this issue Nov 29, 2016
cs-victor-nascimento added a commit to concretesolutions/canarinho that referenced this issue Nov 29, 2016
- Atualiza a configuração do Travis para usar a JDK 8
- Adiciona o print de erros de lint ao término do build (referência: Add lint erros to travis build
)
- Corrige o build de Travis de acordo com este issue: travis-ci/travis-ci#6040 (comment)
cs-victor-nascimento added a commit to concretesolutions/canarinho that referenced this issue Nov 29, 2016
- Atualiza a configuração do Travis para usar a JDK 8
- Adiciona o print de erros de lint ao término do build (referência: Add lint erros to travis build
)
- Corrige o build de Travis de acordo com este issue: travis-ci/travis-ci#6040 (comment)
ghostbuster91 pushed a commit to elpassion/android-commons that referenced this issue Dec 5, 2016
SUPERCILEX added a commit to SUPERCILEX/Robot-Scouter that referenced this issue Dec 9, 2016
…7943

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
magnusja added a commit to magnusja/libaums that referenced this issue Dec 15, 2016
daniele-athome added a commit to kontalk/androidclient that referenced this issue Dec 22, 2016
travis-ci/travis-ci#6040 (comment)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
SvichkarevAnatoly added a commit to SvichkarevAnatoly/myOCRAndroid that referenced this issue Jan 8, 2017
hallogallo added a commit to hallogallo/fancy-weather that referenced this issue Jan 8, 2017
meisteg added a commit to meisteg/RaspberryPiTempAlarm that referenced this issue Jan 15, 2017
For details, see:
travis-ci/travis-ci#6040 (comment)

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
zenforic added a commit to octalventures/fixmephone that referenced this issue Feb 27, 2017
Added tools again as mentioned in travis-ci/travis-ci#6040 and changed
SDK build version.
tallytalwar added a commit to tangrams/tangram-es that referenced this issue Sep 22, 2017
miankhalid added a commit to edx/edx-app-android that referenced this issue Oct 30, 2017
miankhalid added a commit to edx/edx-app-android that referenced this issue Oct 30, 2017
idelsink added a commit to derpicated/articated that referenced this issue Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.