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

fix downloader build issue for Android API 23 #15878

Merged
merged 1 commit into from Jun 20, 2016

Conversation

cezheng
Copy link
Contributor

@cezheng cezheng commented Jun 17, 2016

fixes #15823

android-async-http 1.4.9 builds for API 23, but it introduces an external dependency, with a jar file of 1.1 MB.

Considering the fact that replacing libcurl with a java network library is to reduce the apk size, if this PR is merged, will the apk size still be smaller than using libcurl?

If not, we should consider another approach.

@minggo

@cezheng
Copy link
Contributor Author

cezheng commented Jun 17, 2016

List of java network libraries to pick from

https://github.com/snowdream/awesome-android#network

Personally I think okhttp has the best quality, but it is 300+ KB, 3 times as android-async-http 1.4.8

@minggo
Copy link
Contributor

minggo commented Jun 20, 2016

Thanks @cezheng .

@minggo minggo merged commit ad28d44 into cocos2d:v3 Jun 20, 2016
@cezheng cezheng deleted the build_for_android6/downloader branch July 12, 2016 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiling error with Android 6.0(API 23)
2 participants