Got "Unable to load class 'javax.xml.bind.JAXBException'." when run an Android App
Answered
How do I get rid of the message? I got this after run the app (with ctrl + R) on mac mojave under /Users/{myname}/Android directory. I used to build an android in android studio but now I want to try Intellij. Got this error right away. thank you
Please sign in to leave a comment.
Hello,
Please try to run IDE under JDK 8: https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under
Thank you for your respond. I've followed the instruction on the given site. but got JAXBXException. the intellij froze and got sudden increase of RAM. I'm using runtime version 1.8.0_231-b11 x86_64
What JDK is used for project? Seems you need to set JDK 8 for project also: https://stackoverflow.com/questions/58461940/intellij-idea-error-while-importing-projet-from-android-studio
I apologize cause it's for a while not responding. I've decided to use Android Studio cause it's easy to boot up an android project than my intellij idea ultimate. but now I want to struggle with this again. anyways, can you remote my mac to get rid of this problem? This issue still persists on the latest intellij. got sudden increase of memory
This happens after running the app (command + R) on my macbook air 2017
the intellij got sudden increase of memory and freezes
Please report an issue on YouTrack: https://youtrack.jetbrains.com/issues/IDEA attaching memory snapshot (https://intellij-support.jetbrains.com/hc/en-us/articles/207241235)
I had the same problem when I opened a project which was created in Android Studio in IntelliJ IDEA Ultimate. I changed the Project SDK and also I switched the IDS runtime to 1.8, and there was no success. But the problem resolved when I changed the JDK for each of my Android SDKs:
Project Structure -> Platform Settings\SDKs -> Android API xx Platform -> Change "Java SDK" to 1.8
This resolved the problem; I switched back to OpenJDK 11 by JetBrains s.r.o, and everything was OK with it too.
Note that the Project SDK was 1.8 yet.
@... finally. you are the long-overdue savior. thank you so much