Создайте Android 5.0 для молотка (Nexus 5)

Я создаю 5.0 lollipop для hammerhead (Nexus 5). Я получаю следующую ошибку: может кто-нибудь мне помочь?

 ............... ............... ............... including ./system/media/camera/src/Android.mk ... including ./system/media/camera/tests/Android.mk ... including ./system/netd/client/Android.mk ... including ./system/netd/server/Android.mk ... including ./system/security/keystore-engine/Android.mk ... including ./system/security/keystore/Android.mk ... including ./system/security/softkeymaster/Android.mk ... including ./system/vold/Android.mk ... including ./tools/external/fat32lib/Android.mk ... PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored. No private recovery resources for TARGET_DEVICE hammerhead target SharedLib: libwebviewchromium (out/target/product/hammerhead/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so) collect2: error: ld terminated with signal 9 [Killed] /home/sharanu/work/lollipop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol '__system_property_get' in out/target/product/hammerhead/obj/STATIC_LIBRARIES/base_base_gyp_intermediates/base_base_gyp.a(sys_info_android.o) is referenced by DSO out/target/product/hammerhead/obj/lib/libcutils.so /home/sharanu/work/lollipop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::lockPixels() const' in out/target/product/hammerhead/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/hammerhead/obj/lib/libjnigraphics.so /home/sharanu/work/lollipop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::unlockPixels() const' in out/target/product/hammerhead/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/hammerhead/obj/lib/libjnigraphics.so /home/sharanu/work/lollipop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.gold: warning: hidden symbol 'SkBitmap::notifyPixelsChanged() const' in out/target/product/hammerhead/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a(SkBitmap.o) is referenced by DSO out/target/product/hammerhead/obj/lib/libjnigraphics.so make: *** [out/target/product/hammerhead/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1 make: *** Deleting file `out/target/product/hammerhead/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so' #### make failed to build some targets (01:28:06 (hh:mm:ss)) #### 

Я решил это! Проблема заключалась в том, что у него не хватило памяти подкачки, решение для этого – либо увеличение размера ОЗУ, либо своп-памяти. Я увеличил память подкачки по ссылке

Для создания в докере увеличение памяти памяти может решить проблему. С

 docker-machine ssh export SWAPFILE=/mnt/sda1/swapfile sudo dd if=/dev/zero of=$SWAPFILE bs=1024 count=4194304 sudo mkswap $SWAPFILE sudo chmod 600 $SWAPFILE sudo swapon $SWAPFILE