Tag Archives: IntelliJ

5 Principles of Android Logging

A recent question got me thinking about how I use logging in my development/debug process.

Don’t tell lies.

Remember that it’s easy to lie to yourself with logs. I can’t tell you how many times I have made incorrect assumptions about what is going wrong with my code based on the truth presented by the logs. Eventually after exhausting all the other options you finally start tracking down the real problem.

Continue reading 5 Principles of Android Logging

Beginning Android with IntelliJ

Welcome future Android developers!

I’m very excited about next week’s class! I’m a huge fan of Android and can’t wait to share my love with you all.

Please install all of the following before class begins. It takes a long time to install several of these tools, so it would be hard on the class bandwidth and will take a lot of time to get ready while the class is going on around you!

Continue reading Beginning Android with IntelliJ

Configure Android Testing in IntelliJ 11

Had a heck of a time finding a tutorial on configuring Android instrumentation testing in IntelliJ. I tried the command line approach, but it was cumbersome and I’d rather have IDE integration. Finally I stumbled across this link which got me most of the way there. Some of the instructions are now automated in IntelliJ 11, so here’s an updated tutorial.

This tutorial assumes that you have installed the Android SDK, created an Android project, and simply want to add testing to it.

First, open project structure dialog by right clicking on project name or with the keyboard shortcut F4. Click the plus button and select “Module.”

IntelliJ Settings (Module) @coreylatislaw.com

Continue reading Configure Android Testing in IntelliJ 11