It exists longer than Google's "Instant Run", is faster and works without flaws (in my experience).
22 karma · joined March 26, 2016
It exists longer than Google's "Instant Run", is faster and works without flaws (in my experience).
The plugin can now manage and auto-install SDKs, tools, support repos and NDKs, so no messing around with Google's `android` tool anymore!
Maybe this is of use to you.
https://github.com/scala-android/sbt-android/commit/7b32e55f... https://github.com/scala-android/sbt-android/commit/53b855de...
It's bizarre that a one-man-team beats the mighty Google in pretty much everything.
The build is so freaking fast that it runs ProGuard by default – and beats a Gradle build without ProGuard.
That dev implemented and shipped Instant Run way before Google "invented" it, and it's still faster compared to Google's implementation.
Orphan warnings tell you that you defined an instance in the wrong place.
Things you don't receive warnings for:
- Defining the same instance twice.
- Having code which uses both instances.
Those two should be hard compiler errors, because they break data structures at runtime and make code behave incorrectly.Sorry, orphan warnings are multiple magnitudes of escalation levels away from what should happen and are focused on something different (code hygiene vs. THIS-CODE-IS-WRONG-AND-BROKEN-AND-WILL-CORRUPT-SHIT-AT-RUNTIME-I-WILL-FAIL-TO-COMPILE-THIS).
If the conference isn't canceled, I really hope the organizers make a list of people and companies who tried to kill the conference and never sell them a ticket to a future conference again. (No bad blood, just helping them remember their big words.)
Instead of mixing "you can't override this in a subclass" and "you can't reassign this value" as Java did with final, it clearly separates these concerns:
class Foo {
var qux = 1.23
val bar = 42
final var fiz = "fiz"
final val wow = "wow"
}
(new Foo).qux = 2.34 // valid
(new Foo).bar = 23 // invalid
(new Foo).fiz = "fuz" // valid
(new Foo).wow = "wew" // invalid
class SubFoo extends Foo {
override var qux = 2.34 // valid
override val bar = 23 // valid
override var fiz = "fuz" // invalid
override val wow = "wew" // invalid
}