"Inclusion criteria:  Age≥18 years, male or female; Patients with histologically or cytologically confirmed locally advanced (stage IIIB/IIIC) or metastatic (stage IV) NSCLC that can not undergo radical chemoradiotherapy; Dose-escalation and dose-extension periods: failure of standard of care or intolerance of standard of care, having received at least one or more systemic therapeutic regimens for locally advanced or metastatic disease; There is clear evidence showing carrying EGFR exon 20 insertion and other rare EGFR mutations (only applicable for dose-extension and efficacy-extension periods). The test method can use: ARMS method for tissue or cell specimen (need to be tested in national certified laboratory), NGS method for tissue or blood specimen (need to be tested in CLIA or CAP certified laboratory). Note: enrollment of patients does not need to be confirmed by central laboratory; At least one measurable lesion meeting RECIST v1.1 definition, no history of puncture biopsy for the target lesion within the previous two weeks; United States Eastern Cooperative Oncology Group (ECOG) Performance Status score 0~1; Life expectancy >12 weeks;  Having adequate function of important organs at screening (requiring no blood transfusion, no use of hematopoietic stimulating factor or human albumin preparation within 14 days prior to screening):  Absolute neutrophil count (ANC) ≥1.5x109/L; Platelets ≥100×109/L; Haemoglobin > 90 g/L; Aspartate aminotransferase (AST), alanine aminotransferase (ALT) ≤ 2.5×upper limit of normal (ULN) (for known liver metastasis, ≤ 5×ULN); Total bilirubin ≤1.5×ULN; Coagulation function INR≤1.5 ULN; Serum creatinine ≤ 1.5×ULN or creatinine clearance (Ccr, calculated using Cockcroft-Gault formula) ≥45 mL/min; Serum lipase and amylase ≤ 1.5 × ULN; Serum pregnancy test must be confirmed as negative for women of childbearing potential within 7 days prior to enrollment, who agree upon use of effective contraceptive measures during use of the study drug and within 6 months after the last dose. Women of childbearing potential in this protocol is defined as sexually mature women: 1) no hysterectomy or bilateral ovariectomy, 2) uncontinuous natural menopause for 24 months (i.e., menses occurred at any time in the previous consecutive 24 months; fertility can not be excluded in case of amenorrhoea following cancer therapy). Male subjects whose partners are women of childbearing potential must agree to take effective contraceptive measures during the use of study drug and within 6 months after the last dose; Being voluntary to participate in this study after sufficient informed consent and sign the informed consent form.  Exclusion criteria:  Use of any chemotherapeutic agen within 14 days prior to the first dose of AP-L1898; or the time from discontinuation of other investigational product to the use of anticancer drug less than 5 half-lives or 28 days, whichever is shorter; EGFR exon 20 insertion cohort in efficacy-extension stage: once used the drugs targeting EGFR exon 20 insertion mutation (e.g., AZD9291, TAK-788, Poziotinib, CLN-081, JNJ-372, etc.); the patients previously receiving AZD9291 for treatment of EGFR sensitive mutation are allowed to be enrolled; Ongoing use of CYP3A potent inhibitor or inducer, or discontinuation of potent inhibitor less than 5 half-lives of the drug, or discontinuation of potent inducer less than 5 half-lives of the drug or 14 days (whichever is longer) at the first dose of AP-L1898; Not recovered from the adverse event induced by previous antitumor therapy at screening (recovered to ≤ grade 1) (except alopecia); Having other malignant tumors within 5 years prior to the start of treatment or simultaneously (except radically treated non-melanoma without evidence on recurrence of disease, including skin basal cell carcinoma or squamous cell carcinoma, breast/cervical carcinoma in situ, superficial bladder cancer and other carcinomas in situ); Presence of active gastrointestinal disease or other conditions that may obviously affect absorption, metabolism or excretion of drugs; Patients who known to have received organ transplantation; Major surgery performed within 28 days prior to the first dose. Small surgery permitted, e.g., minimally invasive biopsy; Patents with carcinomatous meningitis, spinal cord compression at present; At rested state, mean corrected QT interval QTc, using Fridericia's correction formula>450 ms in man or >470 ms in woman on electrocardiography (ECG) (repeated for three times). A variety of clinically significant abnormalities in cardiac rhythm, conduction or morphology of resting ECG, e.g., complete left bundle branch block, degree III heart block, degree II heart block, PR interval>250 ms. Any factors that may increase the risk of prolonged QTc interval or risk of arrhythmic events, e.g., heart failure, hypokalaemia, congenital long QT syndrome, family history of long QT syndrome or unexplained sudden death under 40 years of age in lineal relatives, or ongoing use of any drug known to prolong QT interval; History of poorly controlled hypertension; Previous history of the following diseases: interstitial lung disease, drug-induced interstitial lung disease, radiation pneumonitis requiring steroid therapy, active interstitial lung disease with clinical evidence; Patients with active brain metastasis, if the CNS metastasis is only limited to supratentorial area or cerebellum that has been adequately treated (surgery or radiotherapy) and radiologically stable for at least 4 weeks, and no corticosteroid is needed to control symptoms, the patients will be allowed to be enrolled; In acute infection phase and requiring pharmacotherapy; HBV DNA≥103 copies/mL or ≥200 IU/mL when the hepatitis B surface antigen is positive or hepatitis B core antibody is positive; HCV-RNA > the upper limit of reference at the site when hepatitis C antibody is positive; Human immunodeficiency virus (HIV) antibody positive; Patient with a previous history of clear mental disorder and taking drugs for treatment; Patient with a history of drug abuse or drug taking; Pregnant or lactating women; Presence of other factors that may possibly affect the study results, interfere with their participation in the entire study, including previous or current physical condition (e.g., ocular disease, including corneal ulcer, conjunctivitis, etc.), treatment or laboratory examination abnormality, unwillingness to comply with each procedure, restriction and requirement in the study, as considered by investigators.  A limited list of criteria for selection of participants in the clinical study, provided in terms of inclusion and exclusion criteria and suitable for assisting potential participants in identifying clinical studies of interest. Use a bulleted list for each criterion below the headers ""Inclusion Criteria"" and ""Exclusion Criteria"". (Limit: 15,000 characters.)"