Helloo!
I`m trying to builld the android from source for me htc buzz.
I have the AOSP source and the device tree downloaded from cyanogenmod source page and when i type "lunch generic_buzz-eng" i get the error:
[email protected]:/home/pawelplsi/WORKING_DIRECTORY# lunch generic_buzz-eng
build/core/combo/TARGET_linux-arm.mk:39: *** Unknown ARM architecture version: armv6j. Stop.
android not support my architecture??
i dont have someone package??
Related
I build the AOSP Gingerbread branch 2.3.7 for crespo 4g. I have run the scripts for extracting official binaries from Google Nexus Driver's page, but when i build the AOSP with make i get the following error:
make: *** No rule to make target `vendor/samsung/crespo4g/proprietary/ODB.apk', needed by `out/target/product/crespo4g/obj/APPS/ODB_intermediates/ODB.apk'. Stop.
I am new to android source code development. I am using Ubuntu 14.04. I used official web "source.android" as a guideline for setting up and downloading source code.
Installed:
1) Python 2.7.10
2) GNU Make 3.82
3) Git latest
4) OpenJDK: sudo apt-get install openjdk-6-jdk
Downloaded following source code:
Build Number: JDQ39, android-4.2.2_r1, Jelly Bean, Galaxy Nexus, Nexus 7, Nexus 4, Nexus 10
It downloaded approximately 65GB, is it fine?
In guide line provided on source.android.com:
a) HADN'T USED SEPARATE OUTPUT DIRECTORY.
b) HADN'T OPTIMIZED A BUILD ENVIRONMENT
c) WASN'T ABLE TO CONFIGURE: USING AUTHENTICATION
d) AFTER EDITING CODE DON'T KNOW HOW TO VERIFY GIT TAG
When I type command "lunch aosp_arm-eng" after ". build/envsetup.sh" it says:
"build/core/product_config.mk:223: *** Cannot locate config makefile for product "aosp_arm". Stop.
** Don't have a product spec for: 'aosp_arm'
** Do you have the right repo manifest?"
I have tried instruction sets from various forums but hadn't found any solution. Kindly guide me how to solve this error while building source code.
Hi, i have a problem with android device trees. I want to flash aosp from source to my zte blade 3. Kernel and source code is ready. Also i find a device tree but it is based on cyanogenmod. I copied tree under
HTML:
aosp/device/zte/atlas40
.
with
HTML:
source build/envsetup.sh
i can see device name. But when i call
HTML:
lunch
There is a huge error like this
HTML:
build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_atlas40". Stop.
** Don't have a product spec for: 'cm_atlas40'
** Do you have the right repo manifest?
Can anyone help, how can i import a device tree from cyanogen to aosp.
thank you.
I am trying to port AOSPA marshmallow-caf (paranoid android) to victara and i cant get past these 2
1.
Code:
frameworks/base/packages/StatementService/src/com/android/statementservice/DirectStatementService.java:149: error: cannot access OkCacheContainer
mHttpResponseCache = HttpResponseCache.install(httpCacheDir, HTTP_CACHE_SIZE_IN_BYTES);
^
class file for com.android.okhttp.OkCacheContainer not found
1 error
make: *** [build/core/java.mk:394: out/target/common/obj/APPS/StatementService_intermediates/classes-full-debug.jar] Error 41
i tried building for the bacon using device trees and vendor stuff from official aospa repos but it also throws this error so i think its not device specific.
2.
Secondly the kernel is not compiling its throwing section mismatch error
Code:
ERROR: modpost: Found 11 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)
i am using the CM kernel sources and defconfig
On googling someone suggested to change toolchains so switched to the one provided in AOSPA manifest (namely eabi-4.8 toolchain in google aosp repos , revision android-r16) previously i was using UBERTC arm-eabi-4.8.
But the exact same error popped up and the exact same file vmlinux.o
Interestingly the kernel is built successfully if i build it separately outside the AOSPA tree , or if i build it inside resurrection remix source tree , with both the toolchains .
Also since i mentioned bacon previously , bacon's kernel doesn't throw this error.
EDIT :
I reverted this
the kernel compiled without section mismatches but i encountered
Code:
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
make[2]: *** [modules] Error 1
make[1]: *** [sub-make] Error 2
i think this and this were responsible
i tried compiling with
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
and got the bootimg
so i guess kernel is done
but the class file not found error remains
Ok so i was able to fix the class file not found error also
The problem was that i was using jdk8 i switched to jdk7 and it compiled successfully
i was trying to create plain aosp build of oreo using pixel experience device tree and kernel source and vendor source from muppets i have created the androidproduct.mk and vendorsetup.mk files as said in android source page.
till lunch everything would be prefect but after make -j10
i get struck here
[126/873] including device/xiaomi/mido/Android.mk ...
build/make/core/binary.mk:1470: error: device/xiaomi/mido/camera/QCamera2/Android.mk: camera.msm8953: C_INCLUDES must be under the source or output directories: /libstagefrighthw /mm-core/inc /libqservice.
20:58:39 ckati failed with: exit status 1
please do help