我试着遵循这里的指示.
我一直收到以下消息:
ssh:连接到git@github.com:22退出不能使用auth方法.致命:远程端意外挂断.
我遵循的步骤
Checked Key通过运行正常工作
ssh -i~/.ssh/id_rsa git@github.com
在〜/ local/bin /中创建文件ssh-git
exec ssh -i~/.ssh/id_rsa"$ @"
使文件可执行:
chmod 755~/local/bin/ssh-git
将以下行添加到〜/ .bashrc中
export GIT_SSH =〜/ local/bin/ssh-git
跑吧
git clone git@github.com/username/reponame.git
我收到以下错误:
ssh:连接到git@github.com:22退出不能使用auth方法.致命:远程端意外挂断.
嗨,我一直在疯狂.
有几个问题,但没有一个似乎解决我的问题.我尝试设置抽屉布局时遇到错误.
<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)