The present invention relates to general formula (I) and (II) N-aromatic amide compound and preparation method thereof, the pharmaceutical composition and pharmaceutical preparation containing described general formula (I) or (II) compound and described general formula (I) and (II) the application of the compound in the preparation of medicines for the treatment of androgen-related diseases, R in the general formula 1 , R 2 , R 3 , R 4 , R 5 , R 6 , W 1 , W 2 , W 3 , W 4 and W 5 The definition of is the same as in the specification. The compounds of the general formulas (I) and (II) can bind to the androgen receptor, and have the activity of resisting androgen and degrading the androgen receptor. The compound can be used alone or as a composition for the treatment of various androgen-related diseases, such as prostate cancer, benign prostatic hyperplasia, breast cancer, bladder cancer, ovarian cancer, etc., and can also be used for acne, hirsutism, hair loss and other diseases treat.