user9323698
user9323698

Reputation: 1

unable to compile android code - java.lang.Object cannot be resolved error

I am currently getting and build failed error. Tried uninstalling android studios, uninstall and reinstall java but to no avail. Appreciate any advice here. Thank you.

FAILURE: Build failed with an exception.

Android Studio 3.2 Build #AI-181.5540.7.32.5014246, built on September 18, 2018 JRE: 1.8.0_152-release-1136-b06 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.13.6

Upvotes: 0

Views: 1016

Answers (1)

Akmal Ahmed
Akmal Ahmed

Reputation: 41

Please use Oracle JDK. OpenJDK has some issues with greenDAO. for me OracleJDK works perfect. To install OracleJDK please follow the instructions in this link.

Upvotes: 2

Related Questions