The invention relates to N-aromatic amide compounds represented by general formulas (I) and (II), a preparation method thereof, a pharmaceutical composition and a pharmaceutical preparation containingthe compound represented by the general formula (I) or (II), and applications of the compounds represented by the general formulas (I) and (II) in preparation of drugs used for treating androgen-related diseases. The definitions of R1, R2, R3, R4, R5, R6, W1, W2, W3, W4 and W5 in the general formulas are the same as those in the specifications. The compounds of the general formulas (I) and (II) are capable of binding to androgen receptors, have activity against androgens and degrade androgen receptors. The compound can be used for treating various androgen-related diseases such as prostate cancer, benign prostatic hyperplasia, breast cancer, bladder cancer, ovarian cancer and the like alone or as a composition, and can also be used for treating diseases such as acnes, hirsutism, alopeciaand the like.