The sbt plugin for intellij

On Thu, Oct 2, 2014 at 2:03 PM, Perry Nguyen <[email protected]> wrote:

> Do not build with intellij, use the sbt plugin and build with sbt.
>
> On Thu, Oct 2, 2014 at 1:59 PM, Daniel Skinner <[email protected]> wrote:
>
>> that is a little confusing, maybe an issue with the intellij run
>> configuration.
>>
>> Proguard is going to strip code it determines as unused before it
>> compiles the jvm bytecode to dalvik bytecode and packages your apk. For
>> various cases, you need to tell proguard to leave certain classes alone or
>> that certain classes missing from the final output are not important.
>>
>> But, it sounds like you can compile and run the program from terminal and
>> not from intellij. I'm afraid I can't offer any more advice here since I
>> actually just run sbt from the terminal pane in intellij.
>>
>> On Thu, Oct 2, 2014 at 3:56 PM, Benny Thompson <[email protected]>
>> wrote:
>>
>>> I am rather new to proguard, but that said, I never made any tweaks to
>>> the proguard rules that were built into the projects I ran.  I also tried
>>> using the android:run target and it worked as well via command line (and it
>>> actually ran in my emulator).
>>>
>>> Confused :/
>>>
>>> On Thursday, October 2, 2014 3:38:31 PM UTC-5, Daniel Skinner wrote:
>>>>
>>>> I'm unsure about the specific err via image you posted but sbt:compile
>>>> isn't going to run proguard, it's only going to generate the bytecode.
>>>>
>>>> You mentioned not being unfamiliar with scala or android, but didn't
>>>> mention anything about proguard :D Did you account for any warnings/errors
>>>> in proguard output in your custom proguard rules?
>>>>
>>>> On Thu, Oct 2, 2014 at 3:31 PM, Benny Thompson <[email protected]>
>>>> wrote:
>>>>
>>>>> I am a not new to Scala and Android development, but I am new to Scala
>>>>> *on* Android.  I have tried creating a project from scratch using
>>>>> Scaloid and compiling in IntelliJ which led to a ton of proguard warnings,
>>>>> then a failure because of said warnings.  I then tried
>>>>> using android-sdk-plugin and used "gen-android" and, without modification,
>>>>> tried to compile in IntelliJ with the same results.  The funny thing is
>>>>> that if I run "sbt compile" from the project root in a terminal, all is
>>>>> well.  Is there something I need to change with my proguard configuration
>>>>> that I'm not seeing in any documentation for IDE integration?
>>>>>
>>>>>
>>>>> <https://lh6.googleusercontent.com/-XSYzamtiyVc/VC22JMSQlqI/AAAAAAAAAFg/iMVM1OGiqD4/s1600/Screen%2BShot%2B2014-10-02%2Bat%2B3.31.11%2BPM.png>
>>>>>
>>>>>
>>>>>  --
>>>>> 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.
>>>>>
>>>>
>>>>  --
>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>

-- 
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.

Reply via email to