琴日Android Studio係Build果陣,Win10冇端端死機, 重啟後『Clean Project』『Rebuild Project』皆現『app:externalNativeBuildCleanDebug FAILED』
> Task :app:externalNativeBuildCleanDebug FAILED
Execution failed for task ‘:app:externalNativeBuildCleanDebug’. > com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
* Try: Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights. |
Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ |
問題明显,係寫入時果陣死機. 破壞文档数据, 解决方案係刪『build』資料夾, 再撳『Rebuild Project』 等『Androd studio』重建『build』即可
1.刪『App』->『build』資料夾 |
2.撳『build』->『Rebuild Project』 |