小编ric*_*ird的帖子

使用终端IDE从Android上的GitHub克隆

我试着遵循这里的指示.

我一直收到以下消息:

ssh:连接到git@github.com:22退出不能使用auth方法.致命:远程端意外挂断.

我遵循的步骤

  1. 制造钥匙
  2. 复制密钥到github.
  3. Checked Key通过运行正常工作

    ssh -i~/.ssh/id_rsa git@github.com

  4. 在〜/ local/bin /中创建文件ssh-git

    exec ssh -i~/.ssh/id_rsa"$ @"

  5. 使文件可执行:

    chmod 755~/local/bin/ssh-git

  6. 将以下行添加到〜/ .bashrc中

    export GIT_SSH =〜/ local/bin/ssh-git

  7. 跑吧

    git clone git@github.com/username/reponame.git

  8. 我收到以下错误:

    ssh:连接到git@github.com:22退出不能使用auth方法.致命:远程端意外挂断.

git android terminal-ide

7
推荐指数
2
解决办法
5316
查看次数

LinearLayout @ 422725b0不是滑动抽屉

嗨,我一直在疯狂.

有几个问题,但没有一个似乎解决我的问题.我尝试设置抽屉布局时遇到错误.

<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">

<!-- As the main content view, the view below consumes the entire
     space available using match_parent in both dimensions. -->
<FrameLayout
    android:id="@+id/content_frame"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

<LinearLayout
    android:id="@+id/left_drawer"
    android:layout_width="240dp"
    android:layout_height="match_parent" 
    android:gravity="start"
    >

    <TextView
        android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:text="test"
        android:background="@drawable/black"
        android:textColor="#94A1A1"
        android:textAppearance="?android:attr/textAppearanceListItemSmall"
        android:minHeight="?android:attr/listPreferredItemHeightSmall"  
        android:layout_weight="1"      
    />  

    <ListView
        android:id="@+id/left_drawer_child"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:choiceMode="singleChoice"
        android:divider="@android:color/transparent"
        android:dividerHeight="0dp"
        android:background="#323232"
        android:layout_weight="1"
    />

 </LinearLayout>
</android.support.v4.widget.DrawerLayout>
Run Code Online (Sandbox Code Playgroud)

和Java

/*
 * Copyright 2013 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the …
Run Code Online (Sandbox Code Playgroud)

android slidingdrawer

6
推荐指数
2
解决办法
4429
查看次数

标签 统计

android ×2

git ×1

slidingdrawer ×1

terminal-ide ×1