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

Retrofit library stop working inside plugin #61

Open
dmitry-zhuravlev opened this issue Feb 14, 2017 · 2 comments
Open

Retrofit library stop working inside plugin #61

dmitry-zhuravlev opened this issue Feb 14, 2017 · 2 comments
Labels

Comments

@dmitry-zhuravlev
Copy link
Collaborator

dmitry-zhuravlev commented Feb 14, 2017

Recently I noticed that retrofit library stop working inside plugin. Currently we use this library to invoke some commands like ping, quit on Kobalt server. We have the same situation like described here:
square/retrofit#2102

The reason is that Retrofit try to determine the running platform by executing Class.forName("android.os.Build") So it works previously but stop working for now. The explanation can be found in comments here: square/retrofit#2103

android.os.Builder class was not on the classpath in the IDEA 2016.2 version of the Android Support plugin but has appeared on the classpath in the 2016.3 version.

So it seems that current bundled version of Retrofit library not suited anymore for us. So we can:

What do you think @cbeust ?

@dmitry-zhuravlev
Copy link
Collaborator Author

Provided some temporary solution with Retrofit library which is builded manually. Should be updated to the actual release version of library as soon as square/retrofit#2103 will be merged.

@cbeust
Copy link
Owner

cbeust commented Feb 14, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants