Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

1.8-alpha5 does not work with Android 5.1 #6

Open
konmik opened this issue Oct 4, 2015 · 2 comments
Open

1.8-alpha5 does not work with Android 5.1 #6

konmik opened this issue Oct 4, 2015 · 2 comments

Comments

@konmik
Copy link

konmik commented Oct 4, 2015

clojure-1.8.0-alpha5.jar

@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        IFn plus = Clojure.var("clojure.core", "+");

        TextView result = (TextView)findViewById(R.id.result);
        result.setText("Result: " + plus.invoke(1, 2));
    }
}

java.lang.VerifyError: Rejecting class clojure.core.server$stop_server because it failed compile-time verification (declaration of 'clojure.core.server$stop_server' appears in /data/app/.../base.apk)

@alexander-yakushev
Copy link

clojure.core.server$stop_server looks to be from the new 1.8 socket REPL. I'll have to take a look why dexopt dislikes that function.

@R1ck77
Copy link

R1ck77 commented May 7, 2016

Whatever problem the alpha version had, it has been resolved with the stable one: clojure 1.8.0 works fine AFAIC (tested both on 5.0 and 5.1 emulators, and by users on the store).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants