草庐IT

android - Android内核源代码的git repo在哪里?

我想从源代码为我的设备构建内核,但是我找不到内核源代码的git存储库。我只找到了这个:git://android.git.kernel.org/kernel/common.git但是在最近kernel.org大惊小怪之后它似乎被弃用了,git提示fatal:Theremoteendhungupunexpectedly他们是要搬到某个地方还是别处? 最佳答案 git://android.git.kernel.org/中的内容现在可以在https://android.googlesource.com/中找到.我在你的URL中做了替换,结

android - M2E 不适用于现有的 Maven 项目

我有一个android项目,我使用maven来管理它,它在命令行中运行良好。构造如下:我的项目|--安卓|----源代码|----pom.xml|----……|--普通|----源代码|----Assets|----repo|--桌面|--pom.xml我将共享代码和Assets放在公共(public)目录中。而android目录下的pom.xml是:........com.google.androidandroid2.2.1providedcom.badlogic.gdxgdx0.9.1com.badlogic.gdxgdx-backend-android0.9.1com.googl

Android 源代码、Git/Repo 和错误 : '.../.repo/repo/.git/clone.bundle' does not look like a v2 bundle file

我在MacOSX(10.7.3)、x64Intel上更新我的Android源代码树时遇到问题。代码是根据DownloadingtheSourceTree安装的,并且SEAndroid是根据HowdoIgettheSEAndroidcode?应用的.根据VersionControlwithRepoandGit,我发出了reposync,结果是:error:'.../.repo/repo/.git/clone.bundle'doesnotlooklikeav2bundlefile我还尝试使用gitpull,结果是:fatal:Notagitrepository(oranyofthepare

android - 私有(private) bitbucket maven repo

我在使用私有(private)bitbucketmaven存储库的项目中遇到问题,它以前可以工作,但自从升级到androidstudioRCgradle后,在它设置为私有(private)时找不到该存储库。取消选中bitbucket上的“Thisisaprivaterepository”选项可以解决问题,但这不是一个可行的解决方案。 最佳答案 一年前,我曾与这个问题作过斗争。解决方案是使用synergianplugin.它使用您的本地git客户端及其配置,因此无需以纯文本形式提供您的凭据,而是使用RSAkey。试一试,您不会后悔的。

android - repo :在自动 bash 脚本中找不到用于构建 cyanogenmod 的命令

我正在运行linuxmint17.2,我安装了repo并且repo的路径被添加到我的.bashrc中。我之前已经启动了我的repo。我已按照AndroidSourceDownloading上的说明进行操作和HowtoBuildCyanogenMod页面。问题是:我已经编写了一个bash脚本来自动执行一些我想用来启动构建的命令。我的简单形式的脚本如下:#!/bin/bashcd~/Android/Cyanogenmod/cm12_1/android/systemsourcebuild/envsetup.shreposync--force-sync-j8exec$SHELL当我运行它时,它

Android - 将新库添加到 repo ?

我正在尝试向android平台添加一个新库,但是当我运行“repostatus”命令时,我的库所在的文件夹没有显示为已添加。例如,如果我的库名为foo,我会创建一个文件夹/external/foo并将我的库代码放入其中。“repostatus”命令看不到这个foo文件夹。有什么方法我需要手动将它添加到工作树中吗?克里斯 最佳答案 您需要将其添加到您的$ANDROID_TREE/.repo/manifest.xml中。例如:更多信息:repohelpmanifest此外,manifest.xml往往是指向git存储库中list的符号链

android - 当 repo 同步时,它停止在 Fetching projects : 100% (293/293), done

我为Android操作系统源创建了一个新的repo。我想下载Android4.1.1我用过:repo初始化-uhttps://android.googlesource.com/platform/manifest-bandroid-4.2_r1repo同步下类后,终止显示:yeling@yeling-ThinkPad-E420:~/code/Android4.1$reposync获取项目:100%(293/293),完成。到这里就停了,我进入目录~/code/Android4.1/,没有文件,只有一个目录.repo 最佳答案 使用$r

android - repo 同步失败,出现 "error: index-pack died of signal 9"

我正在尝试与Android源代码库同步并收到错误消息:error:index-packdiedofsignal9error:index-packdiedremote:Sendingapproximately2.01GiB...remote:Countingobjects:1,doneremote:Findingsources:100%(20881/20881)Receivingobjects:100%(20881/20881),2.00GiB|6.11MiB/s,done.remote:Total20881(delta14047),reused20831(delta14047)erro

android - 在不同的 android repo 标签之间切换

我需要下载不同android标签的src代码。每次都需要半小时和GIGS的空间。相反,我更愿意切换到不同的标签。我该怎么做?cdandroid-4.0.4_r1.1repoinit-uhttps://android.googlesource.com/platform/manifest-bandroid-4.0.4_r1.1reposynccd../android-4.2.2_r1repoinit-uhttps://android.googlesource.com/platform/manifest-bandroid-4.2.2_r1reposync从android-4.0.4_r1.1

android - 关于 .git/HEAD : error: manifest missing or unreadable -- please run init 的 repo 协议(protocol)

我正在使用repo(在ubuntu中)下载android4.4源代码。上次我通过组合键Ctrl+Z终止了repo进程,这次当我使用命令:“repoinit”和“reposync”启动它时,我得到了以下错误:error:insync:[Errno2]Nosuchfileordirectory:u'/home/ubuntu/workspace/packages/apps/VoiceDialer/.git/HEAD'error:manifestmissingorunreadable--pleaseruninit我试过“runinit”,没有显示任何错误。但是运行“repoinit”后问题仍然