Profile cover photo
Profile photo
Mateusz Grzechociński
122 followers -
http://grzechocinski.net
http://grzechocinski.net

122 followers
About
Posts

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

Hi,

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/MenuDrawerLayout.java
18:27:12 Preparing sandbox.dex...
18:27:12 Compiling the following files:
/Users/mateuszgrzechocinski/dev/myapp/app/src/main/java/com/example/MenuDrawerLayout.java
18:27:14 
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)
at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)

Hey,

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: https://github.com/mgrzechocinski/dagger2-example

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

Hi, 
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/com.android.support/appcompat-v7/21.0.0/res/values-v21/values.xml:259: 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 Mobilization.pl conference this year. Thank you all who attended.

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! 

Post has attachment
Good to know :)

Post has shared content

Post has attachment
No i można zarobić...
Wait while more posts are being loaded