After adding a dependency on roboguice 2.0, I get a lot of warnings, for example, when starting gradle build
warning: Ignoring InnerClasses attribute for an anonymous inner class (net.sf.cglib.util.StringSwitcher$Generator$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is *not* an inner class.
My build.gradle file looks like this:
buildscript {repositories {mavenCentral ()} dependencies {classpath 'com.android.tools.build: gradle: 0.4.2'}}
apply plugin: 'android-library' repositories { mavenCentral() } dependencies { compile files('/libs/android-support-v4.jar') compile 'org.roboguice:roboguice:2.0' } android { compileSdkVersion 17 buildToolsVersion "17.0.0" defaultConfig { minSdkVersion 10 targetSdkVersion 16 } }
I know these are just warnings, but I'm starting to experiment with this new build system, and I want to make sure I'm on the right track.
Hello,
Calin source share