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.

Room (possibly others) dont seem to compile with Java 8

See original GitHub issue

I am getting this error specifically by trying to use kotlin with Room, but I assume this would also occur if you are using Java 8 in your source code.

The error is: Warning:warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.persistence.room.RoomProcessor' less than -source '1.8' and seems to be from a use of @SupportedSourceVersion which specifies “the latest source version an annotation processor supports”? Is this expected? Do we need to wait for the full 1.0 release for it to be fully supported?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

27reactions
kenyeecommented, Dec 18, 2017

Would be nice if there were a Gradle flag we could use to turn this warning off…it’s the only warning in our project build 😦

27reactions
yigitcommented, Jun 3, 2017

Yes, it is just a warning. Should not be a problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Room (possibly others) dont seem to compile with Java 8 #35
I am getting this error specifically by trying to use kotlin with Room, but I assume this would also occur if you are...
Read more >
Maven is not working in Java 8 when Javadoc tags are ...
Some of the projects I am trying to compile and install in my local repository are third party projects from which I do...
Read more >
Java 9+ modularity: The difficulties and pitfalls of migrating ...
Run your application before recompiling. Try running your application on the latest JDK release. Most code and libraries should work on JDK 12+ ......
Read more >
JDK-8006952 CodeCacheFlushing degenerates VM ... - Bug ID
A clear symptom is when the VM has stopped compiling even though it reports it has enough free code cache. The problem is...
Read more >
Chapter 1, Getting Started: Compiling, Running, and Debugging
This chapter covers some entry-level tasks that you need to know how to do before you can go on—it is said you must...
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