yangkeao
V2EX  ›  问与答

Android Studio 配置问题

  •  
  •   yangkeao · Jun 7, 2014 · 3230 views
    This topic created in 4440 days ago, the information mentioned may be changed or developed.
    adb找不到命令。

    我本来以为是path没有配置好。

    经过了无数次的尝试后发现,就算在原路径下也无法执行adb

    如图

    10 replies    2014-06-07 19:03:17 +08:00
    ffffwh
        1
    ffffwh  
       Jun 7, 2014 via iPhone
    原路径要用./adb
    你可以顺便看看ls -l,adb有没有x权限
    .bashrc里改PATH GUI下好像不管用,应该是.profile好像
    yangkeao
        2
    yangkeao  
    OP
       Jun 7, 2014
    @ffffwh "没有那个文件或目录: ./adb" 权限是-rwxrwxrwx
    是在profile里面改得。
    android -h已经成功了。。。
    yangkeao
        3
    yangkeao  
    OP
       Jun 7, 2014
    ufo22940268
        4
    ufo22940268  
       Jun 7, 2014
    file adb看下
    ufo22940268
        5
    ufo22940268  
       Jun 7, 2014
    如果你的系统是64位,并且没有装32位的lib,那么会发生这种情况
    yangkeao
        6
    yangkeao  
    OP
       Jun 7, 2014
    @ufo22940268 o,,那就是的!!!感谢,能告诉我是什么lib吗?
    yangkeao
        7
    yangkeao  
    OP
       Jun 7, 2014
    @ufo22940268 ia32-libs : 依赖: ia32-libs-multiarch
    E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
    怎么办??
    ufo22940268
        9
    ufo22940268  
       Jun 7, 2014
    @yangkeao 这种一般要改软件源的配置,google吧
    yangkeao
        10
    yangkeao  
    OP
       Jun 7, 2014
    @ufo22940268 好的,我发现问题了。。。。上次ubuntu中国服务器连不上的时候一激动软件源改错版本了,。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1457 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:44 · PVG 00:44 · LAX 09:44 · JFK 12:44
    ♥ Do have faith in what you're doing.