jberkel / android-plugin

An sbt plugin for Android development in Scala
https://groups.google.com/forum/#!forum/scala-on-android
Other
476 stars 113 forks source link

0.7.1-SNAPSHOT: invalid /system/etc/permissions/scala-library-2.10.1.xml #195

Open michalrus opened 10 years ago

michalrus commented 10 years ago

Just tried 0.7.1-SNAPSHOT and everything seems to work except the preloading feature.

After running sbt preload-device, the contents of /system/etc/permissions/scala-library-2.10.1.xml were as follows:

<permissions><library name=scala-library-2.10.1 file=/system/framework/scala-library-2.10.1.jar /></permissions>

After manually changing this file to this (basically: adding quotes):

<permissions>
    <library name="scala-library-2.10.1"
            file="/system/framework/scala-library-2.10.1.jar" />
</permissions>

... everything works as expected and I no longer get INSTALL_FAILED_MISSING_SHARED_LIBRARY during install phase.

Great plugin, by the way, having Scala preloaded really speeds up development!

Also posted here: https://groups.google.com/forum/#!topic/scala-on-android/CM611eL8H-M