Problem #2, reported also here <https://github.com/pfn/android-sdk-plugin/issues/61>.
When doing android:package, I get this error: [error] /home/david/des/android-sdks/build-tools/18.1.0/dx -JXmx8192m --dex --incremental --no-strict --output /home/david/des/android/FotoCaptura/bin/classes.dex /home/david/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.0.1.jar /home/david/des/android/appcompat/libs/android-support-v4.jar /home/david/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.3.jar /home/david/.ivy2/cache/com.github.tony19/logback-android-core/jars/logback-android-core-1.1.1-2.jar /home/david/.ivy2/cache/com.github.tony19/logback-android-classic/jars/logback-android-classic-1.1.1-2.jar /home/david/.ivy2/cache/com.google.android/android/jars/android-2.1_r1.jar /home/david/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.1.jar /home/david/.ivy2/cache/xpp3/xpp3/jars/xpp3-1.1.4c.jar /home/david/.ivy2/cache/org.json/json/jars/json-20080701.jar /home/david/.ivy2/cache/ch.acra/acra/jars/acra-4.5.0.jar /home/david/.ivy2/cache/xerces/xmlParserAPIs/jars/xmlParserAPIs-2.6.2.jar /home/david/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.0.1.jar /home/david/des/android/FotoCaptura/bin/classes.jar /home/david/.ivy2/cache/com.github.tony19/apktool-lib/jars/apktool-lib-1.4.4-3.jar /home/david/.ivy2/cache/org.khronos/opengl-api/jars/opengl-api-gl1.1-android-2.1_r1.jar /home/david/.ivy2/cache/org.apache.httpcomponents/httpmime/jars/httpmime-4.1.1.jar /home/david/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.6.jar [error] trouble processing "javax/xml/namespace/QName.class": [error] [error] Ill-advised or mistaken usage of a core class (java.* or javax.*) [error] when not building a core library. .... [error] If you go ahead and use "--core-library" but are in fact [error] building an application, then be forewarned that your application [error] will still fail to build or run, at some point. Please be [error] prepared for angry customers who find, for example, that your [error] application ceases to function once they upgrade their operating [error] system. You will be to blame for this problem. [error] [error] If you are legitimately using some code that happens to be in a [error] core package, then the easiest safe alternative you have is to [error] repackage that code. That is, move the classes in question into [error] your own package namespace. This means that they will never be in [error] conflict with core system classes. JarJar is a tool that may help [error] you in this endeavor. If you find that you cannot do this, then [error] that is an indication that the path you are on will ultimately [error] lead to pain, suffering, grief, and lamentation. [error] [error] 1 error; aborting The solution is to add this to my project: dexCoreLibrary in Android := true and now it builds ok, but don't know if I'll be having problems later. I don't know why my code references this class: javax/xml/namespace/QName.class -- You received this message because you are subscribed to the Google Groups "scala-on-android" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
