Android Studio Update 离线升级
IllegalStateException: Can't deserialize target data of key 'IdeaAndroidProject'. Given class loaders: [PluginClassLoader[org.jetbrains.android, 10.0]]: Can't deserialize target data of key 'IdeaAndroidProject'. Given class loaders: [PluginClassLoader[org.jetbrains.android, 10.0]]
报这个错误,新建工程也看不到源文件,升级新版本可以解决这个问题
对于windows版本:
1. 从 http://tools.android.com/recent 找最新版本号如 0.1.8 (Build number: 130.725679)
或者从 http://dl.google.com/android/studio/patches/updates.xml 找最新版本号
2. 下载补丁 http://dl.google.com/android/studio/patches/AI-130.721168-130.725679-patch-win.jar
(syntax is "AI-$FROM-$TO-patch-unix.jar", where you get the from/to using the updates.xml file)
windows 对应为-win.jar
3. 进入android studio 目录X:\Android\android-studio安装
“
java -classpath AI-130.721168-130.725679-patch-win.jar com.intellij.updater.Runner install . ”
注意最后的 “.” 安装到当前目录
最近评论