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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Show comment
Hide comment
@BanzaiMan

BanzaiMan May 12, 2016

Member

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.

Member

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

This comment has been minimized.

Show comment
Hide comment
@BanzaiMan

BanzaiMan May 16, 2016

Member

OK, so I did looked 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
Member

BanzaiMan commented May 16, 2016

OK, so I did looked 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

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

ranterle added a commit to bitstadium/HockeySDK-Android that referenced this issue Aug 23, 2016

@vycius vycius referenced this issue Aug 27, 2016

Merged

Travis #1

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

games-neox added a commit to games-neox/Lazy that referenced this issue Sep 29, 2016

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

miguelandres added a commit to material-foundation/material-remixer-android that referenced this issue Nov 10, 2016

Add TravisCI support. (#74)
* 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

travis: ensure we get up-to-date tools
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

niltonvasques added a commit to niltonvasques/mathjs-android that referenced this issue Nov 20, 2016

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

Adiciona configuração do ValorMonetarioWather
- 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

Adiciona configuração do ValorMonetarioWather
- 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)

SUPERCILEX added a commit to SUPERCILEX/Robot-Scouter that referenced this issue Dec 9, 2016

travis-ci/travis-ci#6040 (comment)
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

Try workaround for lint failing on Travis
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

travis: Update Android tools twice to ensure getting latest version
For details, see:
travis-ci/travis-ci#6040 (comment)

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>

zenforic added a commit to octaltech/fixmephone that referenced this issue Feb 27, 2017

Possible fix for #1
Added tools again as mentioned in travis-ci/travis-ci#6040 and changed
SDK build version.

@Kisty Kisty referenced this issue Jun 20, 2017

Merged

Fix CI #2

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment