public File getAndroidJar ( ) throws MojoExecutionException { final String androidJarPath = androidTarget . getPath ( IAndroidTarget . ANDROID_JAR ) ; if ( androidJarPath == null ) { throw new MojoExecutionException ( "No AndroidJar found for " + androidTarget . getLocation ( ) ) ; } return new File ( androidJarPath ) ; }
Resolves the android . jar from this SDK .