You are not logged in.

#1 2014-08-18 01:40:37

jhello
Member
Registered: 2012-08-10
Posts: 35

Android Studio SDK Manager Won't Start

I download the newest version of Android Studio from Google. You know there's something wrong to install it from AUR in China.
But when I click the SDK Manager button in Android Studio, the Manager does not start.
And then I go to the "android-studio/sdk/tools/" folder to run "./android"

$ ./android 
The program 'Android SDK Manager' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 1968 error_code 8 request_code 139 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Some infomation:

$ uname -a
Linux arch 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux

Thanks for your help:)


人道待人

Offline

#2 2014-08-18 02:52:43

Napaim
Member
From: Scotland
Registered: 2009-03-09
Posts: 26

Re: Android Studio SDK Manager Won't Start

Did you recently do a  system update?

From searching around it seems like it's a graphical problem or a font problem.

Also maybe try running `./android --sync` just to see if there's a different output.

Offline

#3 2014-08-18 11:41:20

jhello
Member
Registered: 2012-08-10
Posts: 35

Re: Android Studio SDK Manager Won't Start

Thanks very much for your reply.

But It does not work, while shows as followed

$ ./android --sync
Error: Flag '--sync' is not a valid global flag. Did you mean to specify it after the verb/object name?

       Usage:
       android [global options] action [action options]
       Global options:
  -s --silent     : Silent mode, shows errors only.
  -v --verbose    : Verbose mode, shows errors, warnings and all messages.
     --clear-cache: Clear the SDK Manager repository manifest cache.
  -h --help       : Help on a specific command.

                                                                    Valid
                                                                    actions
                                                                    are
                                                                    composed
                                                                    of a verb
                                                                    and an
                                                                    optional
                                                                    direct
                                                                    object:
-    sdk              : Displays the SDK Manager window.
-    avd              : Displays the AVD Manager window.
-   list              : Lists existing targets or virtual devices.
-   list avd          : Lists existing Android Virtual Devices.
-   list target       : Lists existing targets.
-   list device       : Lists existing devices.
-   list sdk          : Lists remote SDK repository.
- create avd          : Creates a new Android Virtual Device.
-   move avd          : Moves or renames an Android Virtual Device.
- delete avd          : Deletes an Android Virtual Device.
- update avd          : Updates an Android Virtual Device to match the folders
                        of a new SDK.
- create project      : Creates a new Android project.
- update project      : Updates an Android project (must already have an
                        AndroidManifest.xml).
- create test-project : Creates a new Android project for a test package.
- update test-project : Updates the Android project for a test package (must
                        already have an AndroidManifest.xml).
- create lib-project  : Creates a new Android library project.
- update lib-project  : Updates an Android library project (must already have
                        an AndroidManifest.xml).
- create uitest-project: Creates a new UI test project.
- update adb          : Updates adb to support the USB devices declared in the
                        SDK add-ons.
- update sdk          : Updates the SDK by suggesting new platforms to install
                        if available.

tongue

Napaim wrote:

Did you recently do a  system update?

From searching around it seems like it's a graphical problem or a font problem.

Also maybe try running `./android --sync` just to see if there's a different output.


人道待人

Offline

Board footer

Powered by FluxBB