Source code does not match the bytecode

使用模拟器调试的时候android studio提示“Source code does not match the bytecode ”,这说明源码和编译的的模块不匹配。根据网上操作clear,rebuild都不行。有可能是sdk版本不同导致的。
1.查看编译的版本
Source code does not match the bytecode
2.查看模拟器的版本Tools->AVD Manager
Source code does not match the bytecode
如果这个版本和上面编译的SDK版本不一致,请编辑AVD Manager。
Source code does not match the bytecodeSource code does not match the bytecode

配置好了记得重启Android Studio