Archive

Archive for January, 2013

Ignore Subversion files in Eclipse and ADT

Subversion creates .svn directories all over the place and by default Eclipse and ADT (Android Developer Tools, Eclipse-based) will copy them to target/classes and include them in output archives. I have tried to suppress that with project-specific exclude directives, but it is tricky to get it right and bothersome to repeat the process for every new project. A simple solution is to add “, .svn/” to Filtered resources (Windows/Preferences/Java/Compiler/Building, Output folder/Filtered resources) instead.

Ignore .svn folders

Ignore .svn folders

I found the tip in another blog some time ago, but it is gone.

Categories: Java

Unexpected value from nativeGetEnabledTags

2013-01-03 1 comment

There is a bug in the Android SDK API 17 that floods LogCat with warning messages like:

Unexpected value from nativeGetEnabledTags: 0

This makes it hard to see real messages. The message does not appear with older API versions. Until the bug has been fixed the messages can be suppressed using this filter:


^(?!.*(nativeGetEnabledTags)).*$
Categories: Android, Java