Hi:
I'm trying to transfer my scala project to android recently,so I found your 
posr.
I followed your steps but in the third step,I can not found framework 
supprt all the selections.
I 'm using android Studio 1.1.0 and scala plugin 0.41.2 in jetbrain.Do you 
know how to solve this?

thank you very much.

On Saturday, September 28, 2013 at 7:33:42 PM UTC+8, Markus Marvell wrote:
>
> Maybe this info is out of date for someone but Android Studio has Scala 
> support via Scala plugin (for IntelliJ). 
> I desparately tied to install it some days ago and it failed to get up 
> even from disk. Now it is on latest A.Studio 0.2.10.
>  
> How to (correct me if i do something wrong):
> 1. Go Settings > Plugins > Browse Repositories > Search Scala > Install
> 2. Create new project
> 3. Right click main module in Project pane. Select Add Framework support > 
> Select Scala.
> 4. Now strange thing. There is no Project structure content when clicking 
> on Project Structure (hope it's bug in AS 0.2.10). So the way to outflank 
> is right clicking module > Select Open Module settings. Now the project 
> modules are present. (But no other staff, artifacts, libs, etc). But anyway 
> Scala facet can be accessed.
> 5. In Project Structure click main module and add Scala-library to 
> dependencies.
> 6. There is no scala source folder so create new folder "scala" under 
> src/main. Right click it. Select Mark Directory As > Select Source.
> 7. Create Scala class for your activity in scala source folder.
> 8. Add new activity to manifest.
> 9. Run project.
>  
> One more strange thing:
> Seems project execution is one step before compilation. I mean i change 
> code, then Run project and it launches previous version of compilation. So 
> to see new one i should Run it again. It's strange but not critical. May be 
> i misconfigured something.  Let me know what exactly if you have any idea.
>
> And one more thing i can't get is how to include proguard configuration 
> file, as the Android facet in Project Structure pane is deaf to clicks.
>
> But in general Scala is usable in AS.
>  
>

-- 
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 scala-on-android+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to