Advertisement
OmarYehiaDev

Error No.6

Apr 15th, 2020
736
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.94 KB | None | 0 0
  1. Microsoft Windows [Version 10.0.10240]
  2. (c) 2015 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\Omar>cd C:\Users\Omar\AppData\Local\Android\Sdk\tools\bin
  5.  
  6. C:\Users\Omar\AppData\Local\Android\Sdk\tools\bin>sdkmanager --uninstall
  7. Warning: Could not create settings
  8. java.lang.IllegalArgumentException
  9.         at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.<init>(SdkManagerCliSettings.java:428)
  10.         at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:152)
  11.         at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:134)
  12.         at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:57)
  13.         at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
  14. Usage:
  15.   sdkmanager [--uninstall] [<common args>] [--package_file=<file>] [<packages>...]
  16.   sdkmanager --update [<common args>]
  17.   sdkmanager --list [<common args>]
  18.   sdkmanager --licenses [<common args>]
  19.   sdkmanager --version
  20.  
  21. With --install (optional), installs or updates packages.
  22.     By default, the listed packages are installed or (if already installed)
  23.     updated to the latest version.
  24. With --uninstall, uninstall the listed packages.
  25.  
  26.     <package> is a sdk-style path (e.g. "build-tools;23.0.0" or
  27.              "platforms;android-23").
  28.     <package-file> is a text file where each line is a sdk-style path
  29.                    of a package to install or uninstall.
  30.     Multiple --package_file arguments may be specified in combination
  31.     with explicit paths.
  32.  
  33. With --update, all installed packages are updated to the latest version.
  34.  
  35. With --list, all installed and available packages are printed out.
  36.  
  37. With --licenses, show and offer the option to accept licenses for all
  38.      available packages that have not already been accepted.
  39.  
  40. With --version, prints the current version of sdkmanager.
  41.  
  42. Common Arguments:
  43.     --sdk_root=<sdkRootPath>: Use the specified SDK root instead of the SDK
  44.                               containing this tool
  45.  
  46.     --channel=<channelId>: Include packages in channels up to <channelId>.
  47.                            Common channels are:
  48.                            0 (Stable), 1 (Beta), 2 (Dev), and 3 (Canary).
  49.  
  50.     --include_obsolete: With --list, show obsolete packages in the
  51.                         package listing. With --update, update obsolete
  52.                         packages as well as non-obsolete.
  53.  
  54.     --no_https: Force all connections to use http rather than https.
  55.  
  56.     --proxy=<http | socks>: Connect via a proxy of the given type.
  57.  
  58.     --proxy_host=<IP or DNS address>: IP or DNS address of the proxy to use.
  59.  
  60.     --proxy_port=<port #>: Proxy port to connect to.
  61.  
  62.     --verbose: Enable verbose output.
  63.  
  64. * If the env var REPO_OS_OVERRIDE is set to "windows",
  65.   "macosx", or "linux", packages will be downloaded for that OS.
  66.  
  67. C:\Users\Omar\AppData\Local\Android\Sdk\tools\bin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement