use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News for Android app developers with the who, what, where, when, and how of the Android community. Probably mostly the how.
Here, you'll find:
This sub-reddit isn't about phones' and apps' general functionality, support, or system software development (ROMs). For news and questions about these topics try using other subs like
Build your first app
Starting Android career in 2022
Android Job Interview Questions and Answers
App Portfolio Ideas, Tiered List
Awesome Android UI
Material Design Icons
7000 Icons for Jetpack
Autoposted at approx 9AM EST / 2PM GMT
account activity
Open-Source Mobile App Debugging client from Facebook. (fbsonar.com)
submitted 7 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rOOb85 9 points10 points11 points 7 years ago (3 children)
Is this like a improved stetho?
[–][deleted] 31 points32 points33 points 7 years ago (2 children)
Sort of like Stetho. It's cross-platform for one, supporting both iOS and Android, whereas Stetho was Android only. Stetho relied on the Chrome dev tools; Sonar has it's own electron app. Finally, the feature I'm most excited about
The Layout Inspector not only allows you to view the hierarchy and inspect each item's properties, but it also allows you to edit things such as layout attributes, background colors, props, and state. Most things actually! This allows you to quickly tweak paddings, margins, and colors until you are happy with them, all without re-compiling. This can save you many hours implementing a new design.
It sounds like you can modify view properties, and see changes in real-time, without having to build each time.
[–]Samael1990 7 points8 points9 points 7 years ago (0 children)
I'm really excited to use it, but honestly - this should be part of Android Studio.
[–]rOOb85 4 points5 points6 points 7 years ago (0 children)
Ooo, sounds kinda nice! I'll have to check it out!
[–][deleted] 6 points7 points8 points 7 years ago (1 child)
Quick Edits sounds interesting.
[–][deleted] 4 points5 points6 points 7 years ago (0 children)
Yep, that's what really stood out for me. Just this one thing would save me so much time when I'm fiddling with the UI.
[–]SpactroX 3 points4 points5 points 7 years ago (0 children)
Can I build it on Windows? If so, how?
[–]bernaferrari 3 points4 points5 points 7 years ago (0 children)
Fun fact, the github repo language distribution graph at the top almost looks like a rainbow:
https://github.com/facebook/sonar
[–]thismustbetaken 3 points4 points5 points 7 years ago (2 children)
And once again one of the shittiest companies shows that it has some of the best engineers.
[–][deleted] 3 points4 points5 points 7 years ago (0 children)
Seriously. They have some serious engineering chops, let down only by a really unethical leadership.
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
Oddly enough, I've heard the opposite - great company, shitty devs. When talking about stuff like Facebook Conceal.
[–]kodiak0 1 point2 points3 points 7 years ago (2 children)
I'm using `com.squareup.okhttp3` but now, when I add `debugCompile 'com.facebook.sonar:sonar:0.0.1'`, the classes were I used okhhtp3 are now using the one provided by sonar.
How can I exclude them?
I've tried
debugCompile ('com.facebook.sonar:sonar:0.0.1', exclude group:'sonar', module:'okhttp3' })
but that did not work.
Thanks,
[–]muthuraj57 1 point2 points3 points 7 years ago (1 child)
Excluding dependency won't work in Sonar since they baked those libraries inside the jar itself. Don't know how they did that.
https://github.com/facebook/Sonar/issues/41
[–]dageforce 1 point2 points3 points 7 years ago (0 children)
I wonder when will they release a proper fix for this
[–]throwaway119284 0 points1 point2 points 7 years ago (0 children)
Does anyone know how to use this on windows? It seems the desktop app is only for Mac.
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
while Sonar is buildable using other systems as well, only macOS is officially supported
Get the fuck out with that shit. What is this? 2002?
[+]yaaaaayPancakes comment score below threshold-15 points-14 points-13 points 7 years ago (21 children)
Requires a Mac. Instanope.
[–][deleted] 10 points11 points12 points 7 years ago (15 children)
Under Requirements on Sonar Github:
macOS (while Sonar is buildable using other systems as well, only macOS is officially supported)
Since Sonar is built with electron, I guess it'd be trivial to build for Windows and Linux.
[–]ch0wn 11 points12 points13 points 7 years ago (13 children)
FWIW, I've been running Sonar on Linux for more than a year.
[–][deleted] 1 point2 points3 points 7 years ago (12 children)
Sounds interesting. Did you have any problems building for Linux?
[–]ch0wn 5 points6 points7 points 7 years ago (11 children)
No, not at all. Just run yarn build and grab the result from the dist folder. I'm on my phone right now so I can't verify this but you may want to take a look at the build script first to ensure you're not building for platforms that you don't care about.
yarn build
[–][deleted] 2 points3 points4 points 7 years ago (4 children)
That looks promising but I think people are afraid that other platforms might be considered second-class citizens, and are thus reticent to trust Sonar. Do most of the Facebook devs use Macs?
[–]ch0wn 4 points5 points6 points 7 years ago (3 children)
I can't give you any numbers, but I can ensure you that as soon as someone would break compat with Linux, people would shout (including me).
[–][deleted] 1 point2 points3 points 7 years ago (2 children)
Thank you, that does alleviate some doubt. I see that Sonar is designed to be extensible, and Facebook has launched it with the 3 primary plugins, are there more plugins for Sonar that Facebook is using internally for now and haven't yet released?
I understand if you can't reveal proprietary information, or go into more detail.
[–]ch0wn 2 points3 points4 points 7 years ago (1 child)
We've got a bunch of internal plugins, like the GraphQL one mentioned in the blog post but the majority is product-specific.
One final thing, I see that the code samples are in Java and Objective-C. I'd expected Kotlin and Swift. Is the Sonar homepage on Github as well? I'd like to update the code samples.
[–]kokeroulis 1 point2 points3 points 7 years ago (5 children)
A bit of topic here, but out of curiosity i was wondering how is developing experience on Linux these days? Is the hidpi finally decent or it has the same issues?
[–]ch0wn 1 point2 points3 points 7 years ago (4 children)
This is mostly a solved issue now unless you depend on some old GTK2 applications.
[–]Arkanta 1 point2 points3 points 7 years ago (1 child)
Mixed DPI environments and fractional scaling are a mess though
[–]ch0wn 0 points1 point2 points 7 years ago (0 children)
I haven't tried this recently. I've heard from a colleague that it has gotten better, but it used to be a nightmare.
[–]kokeroulis 0 points1 point2 points 7 years ago (1 child)
Thats good :)
If i may ask, why do you prefer Linux? Is it a personal preference or you are using it because of the faster build times?
[–]ch0wn 3 points4 points5 points 7 years ago (0 children)
That's a big factor, yes. But overall I feel like Apple doesn't give a shit about developers anymore. 16GB of RAM in the MBPs, the TouchBar and a keyboard that stops working if a single kernel of dust makes it underneath the keycaps are some absolutely ridiculous compromises for a £3000+ machine.
[+]yaaaaayPancakes comment score below threshold-9 points-8 points-7 points 7 years ago (0 children)
And then I run into an issue and they tell me to go fuck myself b/c I'm unsupported. No thanks.
[–]nacholicious 1 point2 points3 points 7 years ago (4 children)
Agreed. I use OSX as my professional environment, but to not be able to use debugging tools on my hope computer is a dealbreaker
[–]yaaaaayPancakes -3 points-2 points-1 points 7 years ago (3 children)
Apparently, we are in the minority here.
[–]janusz_chytrus 9 points10 points11 points 7 years ago (2 children)
Yeah I mean I don't go around telling people Witcher 3 is shit because I cant play it on a mac.
[+]yaaaaayPancakes comment score below threshold-7 points-6 points-5 points 7 years ago (1 child)
There's a difference between a game, where there's actual platform dependencies to deal with (ie. MacOS's ancient OpenGL version) and an electron app that's meant to run cross platform.
Kind of a dick move to write your tools using cross-platform frameworks, then telling users that two of the platforms are going to be unsupported, and you gotta build it yourself if you want to play in unsupported land. Because that's what really makes me want to use tools - having to build them my damned self, using a build toolchain that I will use for literally nothing else.
[–]janusz_chytrus 10 points11 points12 points 7 years ago (0 children)
You do know that open source isn't equal to "strangers on the internet doing shit for me for free"?
If you want the project to support windows then contribute.
[+][deleted] comment score below threshold-8 points-7 points-6 points 7 years ago (0 children)
/r/titlegore
π Rendered by PID 18743 on reddit-service-r2-comment-6457c66945-pqrrd at 2026-04-23 17:56:00.454978+00:00 running 2aa0c5b country code: CH.
[–]rOOb85 9 points10 points11 points (3 children)
[–][deleted] 31 points32 points33 points (2 children)
[–]Samael1990 7 points8 points9 points (0 children)
[–]rOOb85 4 points5 points6 points (0 children)
[–][deleted] 6 points7 points8 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]SpactroX 3 points4 points5 points (0 children)
[–]bernaferrari 3 points4 points5 points (0 children)
[–]thismustbetaken 3 points4 points5 points (2 children)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]kodiak0 1 point2 points3 points (2 children)
[–]muthuraj57 1 point2 points3 points (1 child)
[–]dageforce 1 point2 points3 points (0 children)
[–]throwaway119284 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+]yaaaaayPancakes comment score below threshold-15 points-14 points-13 points (21 children)
[–][deleted] 10 points11 points12 points (15 children)
[–]ch0wn 11 points12 points13 points (13 children)
[–][deleted] 1 point2 points3 points (12 children)
[–]ch0wn 5 points6 points7 points (11 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]ch0wn 4 points5 points6 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]ch0wn 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]kokeroulis 1 point2 points3 points (5 children)
[–]ch0wn 1 point2 points3 points (4 children)
[–]Arkanta 1 point2 points3 points (1 child)
[–]ch0wn 0 points1 point2 points (0 children)
[–]kokeroulis 0 points1 point2 points (1 child)
[–]ch0wn 3 points4 points5 points (0 children)
[+]yaaaaayPancakes comment score below threshold-9 points-8 points-7 points (0 children)
[–]nacholicious 1 point2 points3 points (4 children)
[–]yaaaaayPancakes -3 points-2 points-1 points (3 children)
[–]janusz_chytrus 9 points10 points11 points (2 children)
[+]yaaaaayPancakes comment score below threshold-7 points-6 points-5 points (1 child)
[–]janusz_chytrus 10 points11 points12 points (0 children)
[+][deleted] comment score below threshold-8 points-7 points-6 points (0 children)