Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8539849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:27:52+00:00 2026-06-11T11:27:52+00:00

I am trying to switch my android development environment to a scala-based one, but

  • 0

I am trying to switch my android development environment to a scala-based one, but the turn-around times (caused by stripping down the scala libraries to the used parts only using ProGuard) are killing me.

There are some tutorials available regarding a process of pre-installing the scala libraries in the emulator by creating a new ramdisk image and adding the libraries to the so called BOOTCLASSPATH. The result should be, that I do not need to integrate the scala libs into my debug build anymore and thus can dramatically decrease the turn around times (one such tutorial is available here).

I’ve followed these tutorials and it is working fine for android 2.3.x (API level 10) but when applying it to an ICS emulator (API level 14/15) or the Jelly Bean emulator (API level 16) they get stuck in a boot loop after the modification. The ICS emulator is especially important to me as I am using the x86 image with hardware accelerated emulation as it is so much faster than the ARM images.

Any ideas on how to pre-install the scala libraries on an ICS emulator or above?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:27:54+00:00Added an answer on June 11, 2026 at 11:27 am

    After searching around a little bit longer I stumbled across the Android-Scala-Installer which allows to pre-install the scala libraries on a rooted android device. It uses another mechanism: Instead of adjusting the BOOTCLASSPATH it defines additional permissions which can then be referenced in your AndroidManifest.xml using a <uses-library /> statement.

    Unfortunately the installer isn’t working on an emulator, but I’ve applied the general mechanism and created a scala script which completely automates the whole installation process for the emulator of your choice and works fine for x86 and ARM images — simply call the script and it will start the emulator and do all the installation stuff and you are done. Currently the script only runs on Windows.

    The script currently brings the scala 2.9.2 and 2.10.0-M7 libs bundled and can be found at github.

    Tip: To save myself from adjusting the AndroidManifest.xml when switching between debug and release builds I’ve split my app up into an android library project which contains all code of the app and two application projects — both referencing the library project. One of the app projects is for the debug builds and contains the relevant <uses-library /> statements and the other project is for release builds and includes the scala libraries into the build process, so that they are part of the delivered APK.

    Hope this will be useful for someone else too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm really trying to switch to emacs, but learning to setup the environment is
Im trying to switch fragments using the example here: http://developer.android.com/guide/components/fragments.html But it does not
When trying to use a Switch Case with switch(string) for an android project ,
I am trying to implement date picker on a button in android. But as
I'm creating a Android application which uses a Switch . I'm trying to listen
I'm trying to create an android context menu (the one that pops-up when you
I am trying to use a Switch (toggle) in android 4.0 API. If I
Trying to downgrade my appl from android 2.2 (API 8) down to android 2.1
I'm a noob to android and i am trying to switch 4 views in
I am trying to record the voice in android But it will create the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.