question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

V2.8.6 java.lang.RuntimeException

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:13
  • Comments:9

github_iconTop GitHub Comments

11reactions
AhhhhDongcommented, Jun 1, 2020

classpath ‘com.android.tools.build:gradle:3.5.3’,build successful.

0reactions
Marcono1234commented, Aug 15, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oracle Mobile Authenticator 8.6 Crashing on Android Only
Oracle Mobile Authenticator Crashing - but for Android only. ... RuntimeException: An error occurred while executing doInBackground()
Read more >
android引用GSON V2.8.6报java.lang.RuntimeException
Execution failed for task ':app:transformClassesWithDexBuilderForDebug'. > com.android.build.api.transform.TransformException: java.lang.
Read more >
Exception Handling | RESTful Java with JAX-RS 2 ... - dennis-xlc
lang.Exception) or unchecked (classes extending java.lang.RuntimeException) exceptions they want. Thrown exceptions are handled by the JAX-RS runtime if you ...
Read more >
Exception during processing of http request - Pega Support
2 posts. Amazon. Posted: August 23, 2021 ... Issues while upgrading from 7.1.8 to 8.6 -Exception during processing of http request ... at...
Read more >
JR60009: THE DBUPGRADE COMMAND FAILS WHEN YOU ...
8.6.10018001-WS-BPM-IFJR60009 ... executeSQL(InitializeConentNavigatorDatabase.java:2 76) [Sep 6, ... IO Error: Size Data Unit (SDU) mismatch java.lang.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found