Here are the slides to my talk at the Android Meetup tonight.
Thanks for all the great questions!
As promised, here are additional links:
Leak Canary (Square) - Really useful leak detection library
Multidex and Performance (Tim Mellor) - Great overview of everything multidex
THIS BLOG IS DEPRECATED. I have moved to https://zdominguez.com/ Things I learned whilst writing stuff for Android, hoping to help someone save all the time I wasted trying to do things.
Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts
20 September 2016
06 September 2016
Pidcat <3 Android M
If you use Pidcat, there might be issues running the tool if your device is on M+. The issue has been fixed on master but hasn't been released yet.
The readme says to fix the issue, get the latest off master:
That didn't quite work, so let's link it:
I tried re-running pidcat, but it's still not displaying anything. Which probably means we really don't have the latest code off the repo. The --force switch has been deprecated, so to force an update we would have to call reinstall instead:
Or, if do not want to do all that, you can also do:
The readme says to fix the issue, get the latest off master:
12:46 $ brew unlink pidcat Unlinking /usr/local/Cellar/pidcat/HEAD... 1 symlinks removed ✔ ~/Android 12:48 $ brew install --HEAD pidcat Warning: pidcat-HEAD already installed, it's just not linked ✔ ~/Android
That didn't quite work, so let's link it:
12:48 $ brew link pidcat Linking /usr/local/Cellar/pidcat/HEAD... 1 symlinks created ✔ ~/Android
I tried re-running pidcat, but it's still not displaying anything. Which probably means we really don't have the latest code off the repo. The --force switch has been deprecated, so to force an update we would have to call reinstall instead:
12:49 $ brew reinstall --HEAD pidcat ==> Reinstalling pidcat ==> Cloning https://github.com/JakeWharton/pidcat.git Cloning into '/Library/Caches/Homebrew/pidcat--git'... remote: Counting objects: 10, done. remote: Compressing objects: 100% (8/8), done. remote: Total 10 (delta 0), reused 7 (delta 0), pack-reused 0 Unpacking objects: 100% (10/10), done. Checking connectivity... done. ==> Checking out branch master ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary 🍺 /usr/local/Cellar/pidcat/HEAD: 5 files, 19.5K, built in 4 seconds ✔ ~/Android
Or, if do not want to do all that, you can also do:
$ adb logcat -v brief | pidcat my.package.name
08 July 2015
Super lightning talk: Tinkering with Tools
If you are just starting Android development or migrating from Eclipse to Android Studio, I gave a lightning talk on setting up some tools:
Subscribe to:
Posts (Atom)