I am trying to learn some android development. I created a small project and in my project I would like to import the twophase.jar (from http://kociemba.org/download.htm) to my android project so I can call the Search.solution method.
I can import the twophase.jar in eclipse and call the Search.solution method and get the return value as follows:
String result = Search.solution(testCube.toString(), 24, 1, true);
However, I am having a problem in Android. I can import and call the Search.solution method but I don't get a response. I am wondering if I am doing the import incorrectly or if there are any incompatibilities that is preventing the Search.solution to execute correctly.
I get the following in Android Studio after I call the method:
I/art: Thread[3,tid=3318,WaitingInMainSignalCatcherLoop,Thread*=0xa5344e00,peer=0x12c31e50,"Signal Catcher"]: reacting to signal 3
I/art: Wrote stack traces to '/data/anr/traces.txt'
Application terminated.
I followed the import answer from Ganesh Pandey here: Android Studio: Add jar as library?
Thanks in advance