Re: Equation causes crash in Android

16 views
Skip to first unread message

Peter A

unread,
Apr 11, 2019, 8:09:32 PM4/11/19
to efficient-java-mat...@googlegroups.com
That's really weird and unlikely to be caused by the class. It's not doing anything unusual or even allocating much memory. Do you have a stack trace?

On Thu, Apr 11, 2019 at 5:33 AM Jonny Kravos <jonny...@gmail.com> wrote:
I am simply creating an instance of equation exactly the same as in the docs, Equation eq = new Equation(), and this is causing my android app to crash. All the app at the moment is a main activity in which i press a button which takes me to a second activity. In this activity onCreate calls a method whos only line is Equation eq = new Equation(). I am getting the error 'java.lang.BootstrapMethodError: Exception from call site #0 bootstrap method'. Any ideas on how to fix this issue?

--
You received this message because you are subscribed to the Google Groups "efficient-java-matrix-library-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to efficient-java-matrix-li...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
"Now, now my good man, this is no time for making enemies."    — Voltaire (1694-1778), on his deathbed in response to a priest asking that he renounce Satan.

Jonny Kravos

unread,
Apr 12, 2019, 4:19:16 AM4/12/19
to efficient-java-mat...@googlegroups.com
I was able to fix it by including

compileOptions {
        sourceCompatability JavaVersion.VERSION_1_8
        sourceCompatability JavaVersion.VERSION_1_8
}

in my gradle file
Reply all
Reply to author
Forward
0 new messages