Exception in thread "main" java.lang.NoSuchMethodError:
Im trying to build for android. After solving a ton of problems before i now get this error and i havent found a fix for this in any other Question
CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. C:/Users/fried/AppData/Local/Android/Sdk\tools\bin\avdmanager.bat list target -c
Exception in thread "main" java.lang.NoSuchMethodError: com.android.prefs.AndroidLocation.getAvdFolder()Ljava/lang/String; at com.android.sdklib.tool.AvdManagerCli.init(AvdManagerCli.java:278) at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:210) at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Comment
I got same issue here. Hope some one can help solving this problem.