AnsweredAssumed Answered

Baseversion error while c_patch android source

Question asked by Jaffin MK on Sep 6, 2016
Latest reply on Oct 1, 2016 by Jaffin MK



I had previously downloaded the android AOSP 5.1.1. Now I am trying to build it for imx6 board. And I am following the android users guide to build android on imx6. But while trying to do c_path function I am getting the following error.


~/Desktop/xxxxx/imx6source$ c_patch /media/xxxxx/Data/iMX6/android_L5.1.1_2.1.0-ga_core_source/code/L5.1.1_2.1.0-ga/ imx_L5.1.1_2.1.0-ga

Parsing basefile /media/xxxxx/Data/iMX6/android_L5.1.1_2.1.0-ga_core_source/code/L5.1.1_2.1.0-ga/baseversion...
Check work tree and patch dir based on /media/xxxxxx/Data/iMX6/android_L5.1.1_2.1.0-ga_core_source/code/L5.1.1_2.1.0-ga/baseversion...
Checking CHANGE project - build ...
fatal: Not a git repository (or any of the parent directories): .git
Error! Base version commit a9c8e589abbd5f14df1ffac6d6e90f83bd6648fb doesn't exist in git /home/xxxxxx/Desktop/xxxxx/imx6source/build. Stop


Please advise.