Source code does not match the bytecode

使用模擬器調試的時候android studio提示「Source code does not match the bytecode 」,這說明源碼和編譯的的模塊不匹配。根據網上操作clear,rebuild都不行。有可能是sdk版本不同導致的。 1.查看編譯的版本 2.查看模擬器的版本Tools->AVD Manager 如果這個版本和上面編譯的SDK版本不一致,請編輯AVD Manager。
相關文章
相關標籤/搜索