Profile

Cover photo
Marcin Gil
114 followers|85,053 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.
Grupy dyskusyjne Google. Adding AAR library to my libs directory in Android Studio causes "duplicate files during packaging of APK " error. Mark Gillespie, 2014-02-12 23:24. Opublikowana w grupie: adt-dev. The error suggests it's a problem with duplicate AndroidManifest.xml (which there are, ...
1
1
Jonathan 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  - 
 
Noisli is a fantastic background noise and color generator ideal for working and relaxing. Plus Text Editor for distraction-free writing.
1
1
Add a comment...

Marcin Gil

Shared publicly  - 
 
 
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  
9 comments on original post
1
1
Add a comment...
In his circles
209 people
Have him in circles
114 people
Artur Pacholec's profile photo
Simon Pollock's profile photo
Maciej Jabłoński's profile photo
Michał Palczewski's profile photo
Broadcasterr's profile photo
Laurent KRATZ's profile photo
Anna Nowak's profile photo
Sylwester Sokołowski's profile photo
Bartlomiej Swiercz's profile photo

Marcin Gil

Shared publicly  - 
 
ISIS, Hezbollah, Hamas. These three very different groups are known for violence — but that’s only a portion of what they do, says policy analyst Benedetti Berti. They also attempt to win over populations with social work: setting up schools and hospitals, offering safety and security, and filling the gaps left by weak governments. Understanding the broader work of these groups suggests new strategies for ending the violence.
1
Fran Marzoa's profile photoMarcin Gil's profile photo
2 comments
 
+Fran Marzoa this: "member of the faculty at Tel Aviv University"?
Seems I still need to learn on information verification. I kinda don't see such social connections and don't catch things like you do.
Add a comment...

Marcin Gil

Android Studio  - 
 
Dear Devs,
I've tried to run the Android L Preview AVD but with no luck. I just keep getting the black screen / nothing happens.

I've created AVDs both with x86 (Intel HAXM) and ARM images, fiddled with RAM (the 768M limit) and "Use Host GPU" but with no luck -- the AVDs are not starting.

Have any of you had similar problems? How did you solve it? Thanks!
6
Mikhail Krishtop's profile photoMarcin Gil's profile photoRobert Smith's profile photo
13 comments
 
Congrats...Happy Testing!!
Add a comment...

Marcin Gil

Help Center  - 
 
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!
2
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.
214 comments on original post
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
6 comments on original post
1
Add a comment...
People
In his circles
209 people
Have him in circles
114 people
Artur Pacholec's profile photo
Simon Pollock's profile photo
Maciej Jabłoński's profile photo
Michał Palczewski's profile photo
Broadcasterr's profile photo
Laurent KRATZ's profile photo
Anna Nowak's profile photo
Sylwester Sokołowski's profile photo
Bartlomiej Swiercz's profile photo
Work
Occupation
Android and JEE Developer
Skills
Android development, OOP/OOD,
Contact Information
Home
Email
Work
Skype
mgil.biz
Story
Tagline
Android and JEE Developer
Collections Marcin is following
Basic Information
Gender
Heavy metal programmer dad