protected String extractPackageNameFromAndroidManifest( File manifestFile ) { return new DefaultManifestParser( manifestFile ).getPackage(); }
final String packageName = new DefaultManifestParser( libManifestFile ).getPackage(); if ( rJavaAlreadyExists( packageName ) )
/** * Parses the manifest file and return the package name. * @param manifestFile the manifest file * @return the package name found or null */ @Nullable public static String getManifestPackage(@NonNull File manifestFile) { return new DefaultManifestParser().getPackage(manifestFile); }