更新AS到3.0

时间:2017-10-27 11:24:19

标签: android android-studio

  

错误:Android Source Generator:错误:无法找到基本名称的包   messages.AndroidJpsBundle,locale ru_RU   java.util.MissingResourceException:无法找到基本名称的包   messages.AndroidJpsBundle,locale ru_RU at   java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)     在java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)     在java.util.ResourceBundle.getBundle(ResourceBundle.java:773)at   org.jetbrains.jps.android.AndroidJpsBundle.getBundle(AndroidJpsBundle.java:22)     在   org.jetbrains.jps.android.AndroidJpsBundle.message(AndroidJpsBundle.java:32)     在   org.jetbrains.jps.android.AndroidSourceGeneratingBuilder.runAaptCompiler(AndroidSourceGeneratingBuilder.java:971)     在   org.jetbrains.jps.android.AndroidSourceGeneratingBuilder.doBuild(AndroidSourceGeneratingBuilder.java:210)     在   org.jetbrains.jps.android.AndroidSourceGeneratingBuilder.build(AndroidSourceGeneratingBuilder.java:114)     在   org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1263)     在   org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:940)     在   org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1012)     在   org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:903)     在   org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:736)     在   org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:384)     在   org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:192)     在   org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138)     在   org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:295)     在org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:125)     在   org.jetbrains.jps.cmdline.BuildMain $ MyMessageHandler.lambda $ channelRead0 $ 0(BuildMain.java:236)     在   org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda $ executeOnPooledThread $ 0(SharedThreadPoolImpl.java:42)     在   java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)     在java.util.concurrent.FutureTask.run(FutureTask.java:266)at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745)

1 个答案:

答案 0 :(得分:0)

从这里:https://stackoverflow.com/a/46966379/2233069,刚刚成功检查

  

备份AndroidStudio3.0 \ plugins \ android \ lib \ jps * .jar

     

将AndroidStudio2.3.3 \ plugins \ android \ lib \ jps * .jar复制到   AndroidStudio3.0 \插件\机器人\ lib中\ JPS的* .jar