From 2b522bb155ae95bcb5431f0c7c12ac2d09c68a9a Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Thu, 28 Jun 2018 16:22:46 +0200 Subject: [PATCH] Troubleshooting NoClassDefFoundError BASE64Encoder Refs https://github.com/kivy/buildozer/issues/639 --- doc/source/troubleshooting.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/source/troubleshooting.rst b/doc/source/troubleshooting.rst index 975b29e34c..eb460ddc73 100644 --- a/doc/source/troubleshooting.rst +++ b/doc/source/troubleshooting.rst @@ -153,6 +153,13 @@ Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/d This occurs due to a java version mismatch, it should be fixed by installing Java 8 (e.g. the openjdk-8-jdk package on Ubuntu). +java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Also make sure you're running Java 8, on OS X:: + + brew cask install java8 + JNI DETECTED ERROR IN APPLICATION: static jfieldID 0x0000000 not valid for class java.lang.Class ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~