Closed yamafaktory closed 9 years ago
lein-droid takes care of multiple versions of the same library, you might have an issue with unclean target dir. Try doing lein clean
and then build again.
Ok I tried it (thanks for your quick answer anyway!) but now the process complains about some not found symbols:
error: cannot find symbol
import android.webkit.ClientCertRequest;
^
symbol: class ClientCertRequest
location: package android.webkit
But the imports are correctly done in the mentioned java file (and it was working before). Maybe something related to a fresh install of android-studio...
This usually happens when javac can't find Android SDK jars on the classpath. Try building with DEBUG=1 lein droid doall
to see what your classpath contains.
By the way, it is often easier to reach me on #clojure-android at Freenode, if you use IRC.
Ok, thanks a lot, I will investigate and eventually reach you on IRC!
So, did you solve it?
Yes, somehow switching from fish shell to bash did it (my ubuntu android-studio install/removal could be related to this - some env vars maybe). Now I am struggling with another error (instaparse via compojure).
@yamafaktory I suggest you creating a separate issue for the instaparse problem, might be helpful for others that stumble upon it, until it is fixed.
Hi,
After multiples changes (even trying to remove dependencies back to a simple project.clj), I always get an error during the DEX generation:
I also tried to clean and to remove everything in the target/debug directory, with no better result.