public static byte[] readDex(File file) throws IOException {
  return readDex(file.toPath());
}

public static byte [ ] readDex ( File file ) throws IOException { return readDex ( file . toPath ( ) ) ; }
read the dex file from file , if the file is a zip file , it will return the content of classes . dex in the zip file .
