Obtener "Prueba Repositroy ha fallado" error al clonar repositorio de Gitlab en Android Studio?
Me gustaría clonar mi código de Android del repositorio gitlab en Android Studio 0.8.1.Me registré en VCS > > Me retiré de Control de versiones > > Git > > Url HTTP agregada here.It me dice que "La prueba de Repositroy ha fallado".Amablemente ayúdame a resolver el problema.He comprobado los plugins también.Muchas gracias.
6 answers
Necesitas descargar e instalar git desde http://git-scm.com/downloads
Entonces necesitas rastrear el git.exe en AndroidStudio:
Ir a Ajustes > Configuración del Proyecto > de Control de versiones > VCSs > Git > Ruta de acceso al ejecutable Git
Seleccione (o escriba) la ruta del ejecutable, por ejemplo:
D:\Program Files (x86)\Git\cmd\git.exe
Si ha instalado GitHub Desktop para Windows
En si tienes GitHub Desktop para Windows, git.exe
se encontrará en C:\Users\YOUR_USER_NAME\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565zz218z5214zzz0e854zzza28\cmd
.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-01-11 13:49:51
Si instalaste git desde http://git-scm.com/downloads y también establecer la ruta correcta y todavía obtener un error tal vez te sientas detrás de un Proxy, en este caso tienes que agregar el Proxy al git. Esto es Posible en gitconfig. Que debería estar disponible en: \Program Files (x86)\Git\etc si ha utilizado la ruta estándar para la instalación.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2015-07-27 11:38:00
Solo para agregar a la respuesta de Sree, estaba recibiendo este error incluso después de instalar Git, pero el problema es que no lo instalé en la carpeta de instalación predeterminada.
Después de elegir la ruta y la carpeta correctas en la pestaña Configuración de VCS, funcionó muy bien.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-08-29 17:51:26
Estoy en Ubuntu 16.04 (esto también se aplica a otras versiones) y todo lo que necesitaba hacer era instalar git desde apt-get:
sudo apt-get install git
Esto significa que Android Studio estaba tratando de ejecutar el comando git, pero no se pudo reconocer, por lo que si tiene git instalado, intente ejecutar git desde la terminal y si no lo reconoce, debe configurar las rutas al ejecutable de git. Eso fue todo!!!
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-11-28 09:06:22
Estoy en Linux, al principio compruebe que tiene la certificación adecuada para saber esto puede clonar el repositorio en terminal si obtiene un error similar this
fatal: unable to access 'https://YourDomainName/Project/GitRepository/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
A continuación, abra su dominio en el navegador y haga clic en bloquear en la izquierda de la url ir a detalle y pulse exportar para guardar la certificación y, finalmente, copiar el contenido del archivo y pasarlo en
/etc/ssl/certs/ca-certificates.crt
Para mí esta solución para el problema funcionó.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-04-30 07:39:09
Goto Settings > Version Control > Git
y establece SSH Executable
en "Nativo" en lugar de "Integrado". A continuación, reinicie su IDE para que se apliquen los ajustes.
Funcionó para mí en todos los jetbrains IDE.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-09-17 13:03:34