Profile cover photo
Profile photo
Mateusz Grzechociński


Post has attachment
+Jacek Kiljański gwiazdorzy na Confiturze2015 :) Energetyczne wystąpienie o pragmatycznym podejściu do testów.
Add a comment...


I'm just playing with the feature of hot-swapping one changed class by Mirror. The problem is I'm using Java 8 language level with retrolambda plugin and then, when Mirror finds my Java file changed, I face following error. Guess I can't do anything with this but maybe you have some plans to integrate with retrolambda?

18:27:12 File changed: /Users/mateuszgrzechocinski/dev/myapp/app/src/main/java/com/example/
18:27:12 Preparing sandbox.dex...
18:27:12 Compiling the following files:
UNEXPECTED TOP-LEVEL EXCEPTION: bad class file magic (cafebabe) or version (0034.0000)


just in case any of you is wondering about playing with Dagger2 in your app, you can find a working example based on Gradle on my github account:

Hope it would help you :)

Hey Guys,

any hints regarding mocking native methods used in my views? Let's say I create custom typeface in my views to show all labels with custom fonts. Android Typeface class internally uses native methods. For preview mode in AS I if-ed this code with View.isInEditMode and it works pretty well.

Unfortunately in Mirror this method returns false, so my code tries to create typeface and it fails with 'native typeface cant be made' RuntimeException.

Thanks in advance for any hints

I'm using latest version of Mirror with Android studio 0.9 and Gradle plugin v0.14. I'm trying to use it in not so simple project which uses few libraries, for example: android support library v21.

I see lots of following errors:

<path>/app/build/intermediates/exploded-aar/ error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.

I'm trying to run mirror on Nexus 4 with Kitkat. Seems like we have a problem with Material design resources bundled into support library.

Any hints?

Post has attachment
Here are the slides from my talk about Android New Build system during conference this year. Thank you all who attended.
Add a comment...

Post has attachment
Warsjawie 2013 za nami. 42 warsztaty,  ok. 50 prelegentów,  mnóstwo znajomych z różnych firm, uczelni. 5 godzin słuchania o Profilowaniu JVMa i 2,5 godz. opowiadania o Phabricatorze. Dzięki wszystkim uczestnikom i organizatorom! 
Add a comment...

Post has attachment
Good to know :)
Add a comment...

Post has shared content

Post has attachment
Add a comment...
Wait while more posts are being loaded