java.lang.IllegalAccessError: tried to access method com.android.sdklib.AndroidVersion$AndroidVersionException.(Ljava/lang/String;Ljava/lang/Throwable;)V from class com.android.sdklib.AndroidVersionHelper

Stack Overflow | Wukon | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    AndroidStudio Error After configured SDK path

    Stack Overflow | 7 months ago | Wukon
    java.lang.IllegalAccessError: tried to access method com.android.sdklib.AndroidVersion$AndroidVersionException.(Ljava/lang/String;Ljava/lang/Throwable;)V from class com.android.sdklib.AndroidVersionHelper
  2. 1

    Android Studio Error when NOT run as root user

    Stack Overflow | 3 months ago | nparabz
    java.lang.IllegalAccessError: tried to access method com.android.sdklib.AndroidVersion$AndroidVersionException.<init>(Ljava/lang/String;Ljava/lang/Throwable;)V from class com.android.sdklib.AndroidVersionHelper
  3. 1

    Android Studio not starting after new patch

    Stack Overflow | 4 months ago | Hemal Shah
    java.lang.IllegalAccessError: tried to access method com.android.sdklib.AndroidVersion$AndroidVersionException.(Ljava/lang/String;Ljava/lang/Throwable;)V from class com.android.sdklib.AndroidVersionHelper
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method com.android.sdklib.AndroidVersion$AndroidVersionException.(Ljava/lang/String;Ljava/lang/Throwable;)V from class com.android.sdklib.AndroidVersionHelper

      at com.android.sdklib.AndroidVersionHelper.create()
    2. com.android.tools.sdklib
      AndroidVersionHelper.create
      1. com.android.sdklib.AndroidVersionHelper.create(AndroidVersionHelper.java:71)
      1 frame
    3. com.android.sdklib
      LegacyLocalRepoLoader.parseLegacyLocalPackage
      1. com.android.sdklib.repository.legacy.local.LocalSdk.scanPlatforms(LocalSdk.java:908)
      2. com.android.sdklib.repository.legacy.local.LocalSdk.getPkgsInfos(LocalSdk.java:548)
      3. com.android.sdklib.repository.legacy.LegacyLocalRepoLoader.parseLegacyLocalPackage(LegacyLocalRepoLoader.java:100)
      3 frames
    4. com.android.repository
      RepoManager.loadSynchronously
      1. com.android.repository.impl.manager.LocalRepoLoaderImpl.parsePackages(LocalRepoLoaderImpl.java:176)
      2. com.android.repository.impl.manager.LocalRepoLoaderImpl.getPackages(LocalRepoLoaderImpl.java:154)
      3. com.android.repository.impl.manager.RepoManagerImpl$LoadTask.run(RepoManagerImpl.java:653)
      4. com.android.repository.api.RepoManager$DummyProgressRunner.runSyncWithProgress(RepoManager.java:398)
      5. com.android.repository.impl.manager.RepoManagerImpl.load(RepoManagerImpl.java:387)
      6. com.android.repository.api.RepoManager.loadSynchronously(RepoManager.java:290)
      6 frames
    5. com.android.tools.sdklib
      AndroidSdkHandler.getSdkManager
      1. com.android.sdklib.repository.AndroidSdkHandler$RepoConfig.createRepoManager(AndroidSdkHandler.java:695)
      2. com.android.sdklib.repository.AndroidSdkHandler.getSdkManager(AndroidSdkHandler.java:269)
      2 frames
    6. com.android.tools
      SdkUpdaterConfigurable.reset
      1. com.android.tools.idea.updater.configure.SdkUpdaterConfigurable.getRepoManager(SdkUpdaterConfigurable.java:128)
      2. com.android.tools.idea.updater.configure.SdkUpdaterConfigPanel.validate(SdkUpdaterConfigPanel.java:462)
      3. com.android.tools.idea.updater.configure.SdkUpdaterConfigPanel.refresh(SdkUpdaterConfigPanel.java:444)
      4. com.android.tools.idea.updater.configure.SdkUpdaterConfigPanel.reset(SdkUpdaterConfigPanel.java:532)
      5. com.android.tools.idea.updater.configure.SdkUpdaterConfigurable.reset(SdkUpdaterConfigurable.java:262)
      5 frames
    7. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.openapi.options.ex.ConfigurableWrapper.reset(ConfigurableWrapper.java:187)
      2. com.intellij.openapi.options.ex.ConfigurableCardPanel.reset(ConfigurableCardPanel.java:124)
      3. com.intellij.openapi.options.ex.ConfigurableCardPanel$1.compute(ConfigurableCardPanel.java:80)
      4. com.intellij.openapi.options.ex.ConfigurableCardPanel$1.compute(ConfigurableCardPanel.java:65)
      5. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:962)
      6. com.intellij.openapi.options.ex.ConfigurableCardPanel.create(ConfigurableCardPanel.java:65)
      7. com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:70)
      8. com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:67)
      9. com.intellij.ui.CardLayoutPanel.createValue(CardLayoutPanel.java:87)
      10. com.intellij.ui.CardLayoutPanel.select(CardLayoutPanel.java:115)
      11. com.intellij.ui.CardLayoutPanel.access$100(CardLayoutPanel.java:40)
      12. com.intellij.ui.CardLayoutPanel$1$1.run(CardLayoutPanel.java:134)
      13. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:345)
      14. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:329)
      14 frames
    8. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    9. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
      3 frames
    10. Java RT
      Dialog.show
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
      4. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
      5. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
      6. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
      9. java.awt.Dialog.show(Dialog.java:1084)
      9 frames
    11. IDEA
      ShowSettingsUtilImpl.showSettingsDialog
      1. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:792)
      2. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
      3. com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1661)
      4. com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1610)
      5. com.intellij.openapi.options.newEditor.SettingsDialog.access$001(SettingsDialog.java:41)
      6. com.intellij.openapi.options.newEditor.SettingsDialog$1.run(SettingsDialog.java:80)
      7. com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37)
      8. com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:283)
      9. com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:77)
      10. com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:114)
      10 frames
    12. com.android.tools
      RunSdkConfigAction.actionPerformed
      1. com.android.tools.idea.updater.configure.RunSdkConfigAction.actionPerformed(RunSdkConfigAction.java:47)
      1 frame
    13. IDEA
      PopupFactoryImpl$ActionPopupStep$1.run
      1. com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame$FlatWelcomeScreen$IconsFreeActionGroup$1.actionPerformed(FlatWelcomeFrame.java:652)
      2. com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.performAction(PopupFactoryImpl.java:861)
      3. com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1.run(PopupFactoryImpl.java:847)
      3 frames
    14. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    15. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
      3 frames
    16. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames