1. 选择模块 --> build --> clean project 2. gradle面板找到对应模块,Tasks --> other --> bundleDebug/bundleRelease 若以上方法没有起效:把现有aar包删掉,重试。