首页 \ 问答 \ android开发环境配置

android开发环境配置

tid=4009" target="_blank">http://www.androidin.com/bbs/viewthread,运行一个helloworld程序时弹出一个protection Error为标题的对话框,内容是Error本人下载了eclipse3.4和1.1的sdk还有adt插件;可是在运行的时候碰到了麻烦.php.php,小弟还是菜鸟,希望得到各位大侠的援手
详见:
我有更好答案








最多9999字
请输入正确的验证码
请您将回答输入完整





点击登录,马上回复


                
提交
更新时间:2022-12-23 11:12

最满意答案

Git是一个免费的、开源的版本控制软件。在Windows上安装git,一般为msysgit。1、下载:在官方网站下载最新版本。

2、安装:点击下一步,直到出现步骤三。

3、在Windows Explorer integration选项中将“Git Bash here”和“Git GUI here”打对勾。

4、在“Adjusting your PATH environment”选项中,默认即可。

5、在“Configuring the line ending conversions”选项中,
第一个选项:如果是跨平台项目,在windows系统安装,选择;
第二个选项:如果是跨平台项目,在Unix系统安装,选择;
第三个选项:非跨平台项目,选择。

6、选择“Finish”,结束安装。

7、在桌面上,可以看到安装后的“Git Bash”选项,双击打开,可以进行操作了。

其他回答

在windows使用git命令方法如下(以win7为例):

1、msysgit 是 windows 版的 git可以百度搜索git下载。
2、安装完成后,开始菜单里找到“git”->“git bash”打开git。
3、注册用户信息:首先配置你的用户信息的git命令。
$ git config --global user.name "your name" 
$ git config --global user.email "email@example.com"
4、配置完成后使用 $ git config --list查看配置的用户信息、
5、创建版本库$ cd d: 和cd mygit进入新建的git目录(什么是版本库?版本库又名仓库,英文名repository,你可以简单的理解一个目录)
6、$ mkdir project  # 创建项目目录 ,$ cd project  # 进入到项目目录.
7、git init  # 初始化 git 仓库。此命令会在当前目录新建一个 .git 目录,用于存储 git 仓库的相关信息 ,把这个目录变成git可以管理的仓库.
8、以上就是git创建版本库操作方法

相关问答

更多
  • Git是一个免费的、开源的版本控制软件。在Windows上安装git,一般为msysgit。1、下载:在官方网站下载最新版本。 2、安装:点击下一步,直到出现步骤三。 3、在Windows Explorer integration选项中将“Git Bash here”和“Git GUI here”打对勾。 4、在“Adjusting your PATH environment”选项中,默认即可。 5、在“Configuring the line ending conversions”选项中, 第一个选项:如 ...
  • 正如@birryree所说,将msysgit的二进制文件添加到PATH中,或者使用Git Bash(尽可能安装msysgit),这比Windows的控制台更好,类似于Unix。 As @birryree said, add msysgit's binary to your PATH, or use Git Bash (installed with msysgit as far as I remember) which is better than Windows' console and similar t ...
  • 以下是您可以遵循以下步骤来获取在Windows下运行的git守护程序: (先决条件:默认Cygwin安装和支持git守护进程的git客户端) 步骤1 :打开一个bash shell 步骤2 :在目录/ cygdrive / c / cygwin64 / usr / local / bin /中,创建一个名为“gitd”的文件,内容如下: #!/bin/bash /usr/bin/git daemon --reuseaddr --base-path=/git --export-all --verbose - ...
  • 问题是babun没有正确处理行结尾。 以下行解决了我的问题。 git config --global core.autocrlf input The problem was that babun didn't process line endings correctly. The following line solved my problem. git config --global core.autocrlf input
  • 来自https://git-scm.com/docs/git-branch 要创建或删除的分支的名称。 新分支名称必须通过git-check-ref-format [1]定义的所有检查。 其中一些检查可能会限制分支名称中允许的字符。 从https://git-scm.com/docs/git-check-ref-format : 它们不能以斜杠开头或结尾/或包含多个连续斜杠(有关此规则的例外,请参阅下面的--normalize选项) 希望这可以帮助 From https://git-scm.com/docs ...
  • 只需将到%PATH% ,您就可以使用与msysgit一起打包的Unix命令。 例如, ls或grep可以工作。 C:\prgs>which ls C:\prgs\git\PortableGit-1.9.5-preview20141217\bin\ls.EXE 这些命令是MinGw / msys项目的一部分,该项目为本机Microsoft Windows应用程序提供了极简主义的开发环境。 这就是用于构建git本身及其Linux命令集合(作为Windows可执行文件)的 ...
  • 可能是主目录在Git Bash和命令提示符之间设置不同。 比较Command Prompt和Git Bash上的以下输出。 ssh -v -T git@github.com 您可能需要更改主目录。 its possible that the home directory is set differently between Git Bash and Command Prompt. Compare the outputs of the following on both Command Prompt and ...
  • 由于您在客户端和服务器上使用Windows,我建议您使用PuTTY Suite中的 plink进行自动化操作。 该套件还包括SSH代理( pageant )。 但是,如果私钥受密码保护,则只需要代理。 出于自动化目的,我将创建一个没有密码短语的专用密钥对并使用该密钥: plink -ssh -batch -i "C:\path\to\private.ppk" user@host C:\serverpath\batch.cmd 在上面的命令中, C:\serverpath\batch.cmd是服务器上批处理 ...
  • 在Windows上手动“卸载”git需要执行两个步骤: 您必须从PATH环境变量中删除bin文件夹的所有路径 删除安装git / Cygwin的文件夹。 之后,您可以从此处安装Cygwin-less msysgit : http : //code.google.com/p/msysgit/downloads/list There are two steps that you have to do to manually "uninstall" git on Windows: You have to remo ...
  • 如前所述, git log -X会将输出限制为最后的X提交。 Git log和其他git命令调用less命令。 这是寻呼机。 要获得寻呼机的帮助,请输入? 或者在查看输出时h。 您现在将看到less命令的帮助。 退出更少很简单,只需键入q 。 如果您不希望日志使用寻呼机实用程序,您可以指示git不要将其用于: git --no-pager log Git日志有很多选择。 为了快速了解发生了什么,我使用了 git log --all --graph --online --decorate 可以将Decor ...

相关文章

更多

最新问答

更多
  • 如何在Laravel 5.2中使用paginate与关系?(How to use paginate with relationships in Laravel 5.2?)
  • linux的常用命令干什么用的
  • 由于有四个新控制器,Auth刀片是否有任何变化?(Are there any changes in Auth blades due to four new controllers?)
  • 如何交换返回集中的行?(How to swap rows in a return set?)
  • 在ios 7中的UITableView部分周围绘制边界线(draw borderline around UITableView section in ios 7)
  • 使用Boost.Spirit Qi和Lex时的空白队长(Whitespace skipper when using Boost.Spirit Qi and Lex)
  • Java中的不可变类(Immutable class in Java)
  • WordPress发布查询(WordPress post query)
  • 如何在关系数据库中存储与IPv6兼容的地址(How to store IPv6-compatible address in a relational database)
  • 是否可以检查对象值的条件并返回密钥?(Is it possible to check the condition of a value of an object and JUST return the key?)
  • GEP分段错误LLVM C ++ API(GEP segmentation fault LLVM C++ API)
  • 绑定属性设置器未被调用(Bound Property Setter not getting Called)
  • linux ubuntu14.04版没有那个文件或目录
  • 如何使用JSF EL表达式在param中迭代变量(How to iterate over variable in param using JSF EL expression)
  • 是否有可能在WPF中的一个单独的进程中隔离一些控件?(Is it possible to isolate some controls in a separate process in WPF?)
  • 使用Python 2.7的MSI安装的默认安装目录是什么?(What is the default installation directory with an MSI install of Python 2.7?)
  • 寻求多次出现的表达式(Seeking for more than one occurrence of an expression)
  • ckeditor config.protectedSource不适用于editor.insertHtml上的html元素属性(ckeditor config.protectedSource dont work for html element attributes on editor.insertHtml)
  • linux只知道文件名,不知道在哪个目录,怎么找到文件所在目录
  • Actionscript:检查字符串是否包含域或子域(Actionscript: check if string contains domain or subdomain)
  • 将CouchDB与AJAX一起使用是否安全?(Is it safe to use CouchDB with AJAX?)
  • 懒惰地初始化AutoMapper(Lazily initializing AutoMapper)
  • 使用hasclass为多个div与一个按钮问题(using hasclass for multiple divs with one button Problems)
  • Windows Phone 7:检查资源是否存在(Windows Phone 7: Check If Resource Exists)
  • 无法在新线程中从FREContext调用getActivity()?(Can't call getActivity() from FREContext in a new thread?)
  • 在Alpine上升级到postgres96(/ usr / bin / pg_dump:没有这样的文件或目录)(Upgrade to postgres96 on Alpine (/usr/bin/pg_dump: No such file or directory))
  • 如何按部门显示报告(How to display a report by Department wise)
  • Facebook墙贴在需要访问令牌密钥后无法正常工作(Facebook wall post not working after access token key required)
  • Javascript - 如何在不擦除输入的情况下更改标签的innerText(Javascript - how to change innerText of label while not wiping out the input)
  • WooCommerce / WordPress - 不显示具有特定标题的产品(WooCommerce/WordPress - Products with specific titles are not displayed)