I'm trying to make an Android ROM for my Razr I phone (x86-atom). Everything works,
but when I run make it shows this error:
make: *** No rule to make target 'external/intel-boot-tools/boot.mk'.
What's wrong with it?
Link to this instead in your boardconfig.mk and add it to your manifest so it syncs automatically. https://github.com/turl/razr-i-boot-tools
It looks like your boardconfig was referencing a dir you never synced. Razr-i-boot-tools is more specific to your device (obviously), so I would just use that.
Related
Building AOSP gives me this:
*** No rule to make target '/.txt', needed by 'out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'.
Stop.
The device i am building for is my Moto G 213 (falcon), and the device list is from Cyanogenmod. What am i doing wrong?
I have the same error. I think I may have found a solution here
make update-api && make
or equivalently for Android
mka update-api && mka
But after this command I got the following error:
Error after mka: build/core/package_internal.mk:276: recipe for target
'/home/weber/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
failed
I don't know if it is related.
In my case, I was just forgetting to select device on launch.
I am trying to build Cyanogenmod 12.1 with my ubuntu.
Target device is Korea G3(F400x).
I used TheMuppets's proprietary for vendor/lge/ and other things from Cyanogenmod github, and pulled needed files from Cyanogenmod 12 which is running on my phone.
But when I try to build...(using command "brunch f400k") I can see this.
make: *** `/home/newnis/android/system/out/target/product/f400k/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so'에서 필요로 하는 타겟 `/home/newnis/android/system/out/target/product/f400k/obj/lib/libtime_genoff.so'를 만들 규칙이 없습니다. 멈춤.
This is korean message, I think this will mean:
make: *** No rule to make target `/home/newnis/android/system/out/target/product/f400k/obj/lib/libtime_genoff.so` needed by `/home/newnis/android/system/out/target/product/f400k/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so'. Stop.
in english.
I copied libandroid_servers.so from my phone, but result was same.
Also, I tried to find the libtime_genoff.so from my phone, but I could not find that.
I googled this problem, but I could not find any working solution.
Anyone knows the solution?
I fixed it.
Something was wrong with device/lge/f400k.
It's name(f400k) wasn't matched with f400 in vendor/lge/g3-common/Android.mk
I changed directory name to f400(I edited some file's name and files in device/lge/f400, too.), and it works.
Now it looks like it's compiling well...
I'm trying to help out a friend of mine by compiling a ROM for the Samsung Galaxy Grand 2 (ms013g).
make: *** No rule to make target
'/home/quiche/cmsource/out/host/linux-x86/bin/dtbToolCM' needed by
'/home/quic/out/target/product/ms013g/dt.img '.
I keep getting this error i cannot fix, i tried the fix described here: CM12 build failed for oneplus one
and i also made sure android_device_qcom_common is in my local_manifest.xml.
Somewere else, someone suggested changing dtbToolCM to dtbTool, which i tried to no avail.
Seems like You need to add suitable kernel project to your local manifest
Downloading of android_kernel_samsung_klte project helped to me (I was building device_samsung_klte)
Please try this to add below to your Device.mk
BOARD_KERNEL_SEPARATED_DT :=true
Please see Android.mk for dtbtool.
Thank you.
Im trying to build automation test cases using robot framework for android devices.
I have imported the android library and have installed python on my system.
My code is as follows:
*** Settings ***
Library OperatingSystem
Library Selenium2Library
Library AndroidLibrary
*** Test Cases ***
case1
Start Emulator avd_name='AVD_for_Nexus_5_by_Google',no_window=False, language=en, country=us
Wait For Device timeout=120
Press Menu Button
Stop Emulator
When I try to execute a test case, I get the error:
command: pybot.bat --argumentfile c:\users\kesav\appdata\local\temp\RIDEnhapet.d\argfile.txt --listener C:\Python27\lib\site-packages\robotframework_ride-1.3-py2.7-win32.egg\robotide\contrib\testrunner\TestRunnerAgent.py:52956:False C:\Users\kesav\test
[Error 2] The system cannot find the file specified.
I have checked the PATH environment variable, it contains C:\Python27 and C:\Python27\Scripts as well.
Please help!
First thing you are missing something from you path, make sure you path has:
;C:\Python27;C:\Python27\Scripts;C:\Python27\Lib\site-packages
You are missing site-packages from your path, try that and get back to me!
I trying to compile CM10 with AOSCompiler(using ubuntu). And i got 2 questions:
1.It's Saying me that it's can't find my device:
elichai#elichai-MT6840:~/.aoscompiler/build$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
elichai#elichai-MT6840:~/.aoscompiler/build$ lunch cm_maguro-userdebug
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/maguro/cm.mk]]: "device/samsung/tuna/device.mk" does not exist. Stop.
Device maguro not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_maguro
CyanogenMod/android_device_samsung_maguro already exists
Syncing repository to retrieve project.
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/maguro/cm.mk]]: "device/samsung/tuna/device.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_maguro'
** Do you have the right repo manifest?
I tried to do just 'lunch' and choose my device from the list and it's gave me the same error.
I tried to use 'breakfast' and it's gave me the same error too.
2.The AOSCOmpiler Saying that:
Adb isn't running
Need adb to setup vendor files.
Is this something you are going to do yourself?
Please try again.
Even i added to the file '/etc/bash.bashrc this line:
export PATH=${PATH}:/home/elichai/Downloads/SDK/tools:/home/elichai/Downloads/SDK/platform-tools
(this is my SDK location) and now i can use 'adb' without going to the SDK folder. but it's still not working(the AOSCompiler).
Sorry, I know it's getting old, but, to to the export PATH=${PATH}:/home/elichai/Downloads/SDK/tools:/home/elichai/Downloads/SDK/platform-tools you should remove {}s
export PATH=$PATH:/home/elichai/Downloads/SDK/tools:/home/elichai/Downloads/SDK/platform-tools
That's what I did. I'm on Ubuntu 10.04
Also, you could add the paths to your .bashrc, assuming you are using bach as you shell.
I'm sure someone will correct me if I'm wrong.