Android Studio 4.0 update

大憨熊 提交于 2020-07-19 05:51:08

问题


Currently a student working through a chat app module with appBrewery. All working well until I updated to the latest Studio then this gets thrown up.

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Failed to notify dependency resolution listener. tried to access method sun.security.util.ECUtil.getECParameters(Ljava/security/Provider;)Ljava/security/AlgorithmParameters; from class sun.security.ec.ECKeyPairGenerator

Any ideas?


回答1:


I had a similar issue. Probably something went wrong during the update. My andorid studio had problems connecting to internet (gave me an error when trying to check for updates and the plugin marketplace wouldn't show anything). If yours does the same then there's a good chance you can fix it like this:

  • Download the latest installer (if you don't have it already) and install it making sure that you confirm you want to delete your old installation when it asks
  • Once installed, if you have any notifications under the "configure" menu on android studio's welcome screen that asks to update something, update it and then restart android studio.
  • Done!

Hope this helps




回答2:


It is because of some file got corrupted while installing Android 4.0. So, doing Invalidate cache and restart will help you... After restart it will automatically download the corrupted files.



来源:https://stackoverflow.com/questions/62089212/android-studio-4-0-update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!