android studio中的非法访问错误

时间:2021-07-04 17:04:33

I have this error in android studio , please tell me how can i solve this problem? IllegalAccessError: tried to access method com.android.sdklib.AndroidVersion$AndroidVersionException. that was my ERROR

我在android studio中有这个错误,请告诉我如何解决这个问题? IllegalAccessError:尝试访问方法com.android.sdklib.AndroidVersion $ AndroidVersionException。那是我的错误

1 个解决方案

#1


0  

There may be 2 reasons of this problem: 1. SDK Manager fails to load packages and crashes if the package versions are somehow off. 2. It has trouble initializing the AndroidVersionException class.

此问题可能有两个原因:1。如果软件包版本以某种方式关闭,SDK Manager无法加载软件包并崩溃。 2.初始化AndroidVersionException类时遇到问题。

It would be great if you gave more details

如果你提供更多细节会很棒

#1


0  

There may be 2 reasons of this problem: 1. SDK Manager fails to load packages and crashes if the package versions are somehow off. 2. It has trouble initializing the AndroidVersionException class.

此问题可能有两个原因:1。如果软件包版本以某种方式关闭,SDK Manager无法加载软件包并崩溃。 2.初始化AndroidVersionException类时遇到问题。

It would be great if you gave more details

如果你提供更多细节会很棒