Skip to content

Update compileSdkVersion and build tools to 24#3062

Merged
dalinaum merged 4 commits intoreleasesfrom
my/update_to_api_24
Jun 27, 2016
Merged

Update compileSdkVersion and build tools to 24#3062
dalinaum merged 4 commits intoreleasesfrom
my/update_to_api_24

Conversation

@zaki50
Copy link
Copy Markdown
Contributor

@zaki50 zaki50 commented Jun 23, 2016

refs #3051

@zaki50 zaki50 force-pushed the my/update_to_api_24 branch 10 times, most recently from 71f9ffe to b43a420 Compare June 24, 2016 01:37
@zaki50 zaki50 force-pushed the my/update_to_api_24 branch from b43a420 to e26d62f Compare June 24, 2016 01:52
@zaki50
Copy link
Copy Markdown
Contributor Author

zaki50 commented Jun 24, 2016

@realm/java Should we keep targetSdkVersion of realm-library to 23 in releases branch for better compatibility to 1.0.1?

@@ -1,5 +1,5 @@
project.ext.sdkVersion = 23
project.ext.buildTools = '23.0.0'
project.ext.sdkVersion = 24
Copy link
Copy Markdown
Contributor

@dalinaum dalinaum Jun 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because most devices cannot support SDK version 24 yet, I don't know that using SDK version 24 is a good idea.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SDK version should not have any effect on what is actual running on the device. This is just used to compile everything with.

@cmelchior
Copy link
Copy Markdown
Contributor

@zaki50 Do you know of any problems between 23.0.0 and 24.0.0 that might effect us? Otherwise I would say it should be safe to upgrade.

@kneth
Copy link
Copy Markdown
Contributor

kneth commented Jun 24, 2016

Yes, I think we should keep 23 in releases.

@zaki50
Copy link
Copy Markdown
Contributor Author

zaki50 commented Jun 24, 2016

@cmelchior I don't think that effects for us. But it has some effect for the users.
Realm's targetSdkVersion is merged into app's AndroidManifest.xml and then app's behavior might change.

I'll keep targetSdkVersion to 23 on releases branch.

@cmelchior
Copy link
Copy Markdown
Contributor

Ah yes, good point 👍

RUN cd /opt && rm -f android-sdk.tgz

# Grab what's needed in the SDK
RUN echo y | android update sdk --no-ui --all --filter tools > /dev/null
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain why this different pattern to install tools? Maybe a comment will help not changing it to be like the others by mistake.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right.

The story is a bit weird.

Running RUN echo y | android update sdk --no-ui --all --filter tools produces following output.

...
Installing Archives:
  Preparing to install archives
  Skipping 'Android SDK Tools, revision 25.1.7'; it depends on 'Android SDK Platform-tools, revision 24' which was not installed.
  Done. Nothing was installed.

This says that install was skipped and nothing was installed. But, if I remove this line, the lint check does not pass.

@emanuelez Do you know why this happens?

Copy link
Copy Markdown
Contributor

@cmelchior cmelchior Jun 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They made some changes to the command line tool in the last versions, it might not even work anymore. I cannot remember the details though.

@kneth
Copy link
Copy Markdown
Contributor

kneth commented Jun 24, 2016

LGTM

@zaki50
Copy link
Copy Markdown
Contributor Author

zaki50 commented Jun 27, 2016

review this please @realm/java

@dalinaum
Copy link
Copy Markdown
Contributor

dalinaum commented Jun 27, 2016

LGTM 👍

@cmelchior
Copy link
Copy Markdown
Contributor

👍

@dalinaum dalinaum merged commit 2c249ea into releases Jun 27, 2016
@dalinaum dalinaum deleted the my/update_to_api_24 branch June 27, 2016 06:29
@dalinaum dalinaum removed the S:Review label Jun 27, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants