didi / booster

🚀Optimizer for mobile applications
https://booster.johnsonlee.io
Apache License 2.0
4.91k stars 579 forks source link

android 6.0闪退 #345

Open lixiangkai1987 opened 2 years ago

lixiangkai1987 commented 2 years ago

java.lang.NoSuchMethodError: No virtual method flip()Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-libart.jar)\n\tat com.didiglobal.booster.instrument.sharedpreferences.io.BoosterXmlSerializer.flushBytes(BoosterXmlSerializer.java:102)\n\tat com.didiglobal.booster.instrument.sharedpreferences.io.BoosterXmlSerializer.flush(BoosterXmlSerializer.java:124)\n\tat com.didiglobal.booster.instrument.sharedpreferences.io.BoosterXmlSerializer.endDocument(BoosterXmlSerializer.java:74)\n\tat com.didiglobal.booster.instrument.sharedpreferences.io.XmlUtils.writeMapXml(XmlUtils.java:29)\n\tat com.didiglobal.booster.instrument.sharedpreferences.SharedPreferencesManager.write(SharedPreferencesManager.java:65)\n\tat com.didiglobal.booster.instrument.sharedpreferences.BoosterSharedPreferences$BoosterEditor$SyncTask.run(BoosterSharedPreferences.java:284)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\n\tat java.lang.Thread.run(Thread.java:818)\n

neighbWang commented 2 years ago

Booster Sp这个feature暂时别用了。后续版本会删除BoosterSharedPreference相关的代码。等改动完再重新上线。