@cedric i found a variant related problem. :)
If the build have two (or more) project and one of using variants and the another don't the build process impossible. :)
If you call compileVariantName...., the non variant project runs to error, if you call compile the variant project runs to error.