English

FP Open build/make stops in TW_THEME () is not valid


#1

Hi, I tried to build FP open and get a error with this: TW_THEME () is not valid

here the full:

bootable/recovery/gui/Android.mk:141: * TW_THEME () is not valid.
bootable/recovery/gui/Android.mk:142: * Please choose an appropriate TW_THEME or create a new one for your device.
bootable/recovery/gui/Android.mk:143: * Valid options are portrait_mdpi portrait_hdpi watch_mdpi
bootable/recovery/gui/Android.mk:144: * landscape_mdpi landscape_hdpi

As this is somehoe hardware related im not shure what the solution is…
I fond some hints at xda but as i wrote the resolutions may varry.
Did anybody else ever stumble over that?
Regards, Novski


Fairphone Open build does not detect any TW_THEME value
Fairphone Open build does not detect any TW_THEME value
#2

TW_THEME is defined in /device/fairphone_devices/FP2/BoardConfig.mk:

portrait_hdpi should be a valid value, though.

Check whether your sources are well-synced:

repo init -b fp2-sibon
repo sync --force-sync

(I’m assuming here you have no local changes)


closed #3

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.


opened #4

#5

I am trying to build the Fairphone Open OS following these build instructions.

I get the same error as in this closed topic

I have tried the suggestions but cannot get it to go through. TW_THEME is well defined in /device/fairphone_devices/FP2/BoardConfig.mk:

[…]

USE_OPENGL_RENDERER := true

TW_THEME := portrait_hdpi
TW_NO_USB_STORAGE := false
TW_TARGET_USES_QCOM_BSP := true

But I get the same error everytime:

bootable/recovery/gui/Android.mk:140: ****************************************************************************
bootable/recovery/gui/Android.mk:141: * TW_THEME () is not valid.
bootable/recovery/gui/Android.mk:142: * Please choose an appropriate TW_THEME or create a new one for your device.
bootable/recovery/gui/Android.mk:143: * Valid options are portrait_mdpi portrait_hdpi watch_mdpi
bootable/recovery/gui/Android.mk:144: * landscape_mdpi landscape_hdpi
bootable/recovery/gui/Android.mk:145: ****************************************************************************
bootable/recovery/gui/Android.mk:146: *** stopping. Stop.

Any other suggestion?


closed #6

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.