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

V2.8.6 java.lang.RuntimeException #1597

Closed
santa955 opened this issue Oct 23, 2019 · 9 comments
Closed

V2.8.6 java.lang.RuntimeException #1597

santa955 opened this issue Oct 23, 2019 · 9 comments

Comments

@santa955
Copy link

I have using gson in my android application with latest version 2.8.6. but if I config as below:

compileOptions {

    sourceCompatibility 1.8

    targetCompatibility 1.8

}

will get an error :

error processing C:\Users\xxx\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.8.6\9180733b7df8542621dc12e21e87557e8c99b8cb\gson-2.8.6.jar java.lang.RuntimeException

But I change to v2.8.5 will work fine.

@moneeWong
Copy link

moneeWong commented Nov 13, 2019

me too
studio 3.2.1
gradle 3.2.1

@salonkasoli
Copy link

Any updates?

@liangxianshen
Copy link

me too

@mike-clover-com
Copy link

Having an issue as well...

@AhhhhDong
Copy link

me too,but is working on my another project

@AhhhhDong
Copy link

classpath 'com.android.tools.build:gradle:3.5.3',build successful.

@stopiccot
Copy link

Bumping com.android.tools.build:gradle version fixed issue for me

@ngocnd0242
Copy link

classpath 'com.android.tools.build:gradle:3.5.3',build successful.
It's works fine!

@Marcono1234
Copy link
Collaborator

Closing this because based on the comments above, it looks like upgrading the Android Gradle Plugin solves this issue.

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

No branches or pull requests

9 participants