Profile

Cover photo
Marcin Gil
91 followers|48,377 views
AboutPostsPhotosVideos

Stream

Marcin Gil

Gradle Build System  - 
 
I'm having the same issue.

In one project I'm building a library as AAR, then include it in other as external dependency (using the "flatDir" repository workaround).

I even added the 
    packagingOptions {
        exclude "AndroidManifest.xml"
    }

in library project but the manifest file is still packaged in. And causes problems.
1
1
Reinhard Nägele's profile photoJonathan Steele's profile photoMarcin Gil's profile photo
2 comments
 
I've used the "flatDir" repository workaround:

    repositories {
        flatDir {
            dirs 'libs'
        }
    }

and then referenced my lib as 

    compile ':lib:x.y.z@aar'

The dependency is pulled in ok. But the dreaded error pops up.

When I've added the exclude option to app it did work. However I don't like this solution. Means that anyone who will get the library (which will not be distributed via Maven repos) needs to put such awkward statement into his gradle file.
Add a comment...

Marcin Gil

Shared publicly  - 
 
 
This is sad.

With all the posturing Google has done over the NSA stuff, and having encouraged people to sign the petition to require a warrant for email snooping (which I heartily agree with), this just makes Google look hypocritical.
1
Add a comment...

Marcin Gil

Shared publicly  - 
 
FULL OF AWESOME. And I mean F-U-L-L.

http://blog.jetbrains.com/idea/2013/12/intellij-idea-13-brings-a-full-bag-of-goodies-to-android-developers/?utm_source=hootsuite&utm_campaign=hootsuite

Just waiting for Christmas Sale now ;)
(Yes +JetBrains I know about last years End of World Clearance sale.. I wish I knew about IntelliJ at that time..)
1
Add a comment...

Marcin Gil

Shared publicly  - 
 
 
Announcing Madge - Pixel grid overlays for debugging whether assets are drawing at their native resolution.

Use the "Magnification Zoom" setting under "Accessibility" to easily inspect the pixel grid on the device. Add a runtime switch to enable/disable in your debug settings for fast control.

Be sure to watch the linked video in HD and click through to the image in the README on GitHub to really see Madge in action.

https://github.com/JakeWharton/madge

#AndroidDev
1
Add a comment...
 
Hello to everyone!

I'm looking at Stirio to aid in home brewing. Anyone has something similar (DIY)?

http://unikia.com/stirio.html
2
Mike Rogalski's profile photoJason Castanza's profile photoMichael Tangen's profile photoMarcin Gil's profile photo
6 comments
 
+Marcin Gil I've had a project like this on my bench for sometime. U re-purposed a battery operated hand drill and a mixer head attachment. Haven't touch the project in a couple of months.
Add a comment...
Have him in circles
91 people
Simon Pollock's profile photo
Oskar Kamiński's profile photo
Maciej Biłas's profile photo
Paula Caamaño's profile photo
ZTE Poland .'s profile photo
Artur Pacholec's profile photo
Martinho Andrade's profile photo
Bartlomiej Swiercz's profile photo
Shalini Kalra's profile photo

Marcin Gil

Beginners  - 
 
Hello!

I have a following problem / lack of knowledge. I can crack up a decent Android app yet I have never been in need to create Android library that would be given to others (no sources probably).

The library that has access to all Android APIs, does not use any Activities/Fragments (maybe a Service) -- just access to hardware (audio/sensors) and possibly system services (telephony).

I kindly ask you for hints and pointers how can I create such lib (Android Studio + gradle); how to tackle issues that you don't have Activites yet you'll be using telephony, etc.

Any insight is very welcome. Thank you!
1
Add a comment...
 
 
Yes, I know this pun is as old as 320x240, but every time I hear "New Year's Resolutions", I imagine this chart:

#NewYearsResolution   #geek  
1
Add a comment...
People
Have him in circles
91 people
Simon Pollock's profile photo
Oskar Kamiński's profile photo
Maciej Biłas's profile photo
Paula Caamaño's profile photo
ZTE Poland .'s profile photo
Artur Pacholec's profile photo
Martinho Andrade's profile photo
Bartlomiej Swiercz's profile photo
Shalini Kalra's profile photo
Work
Occupation
Android Developer
Skills
Android development, OOP/OOD,
Contact Information
Home
Email
Work
Skype
mgil.biz
Story
Tagline
Android Developer
Basic Information
Gender
Male