Monday, 19 October 2015

Build Error while Compiling ROM (Relates to Settings)



Hello all, thanks for stopping to look at my question. Today when I was compiling my unofficial build of Carbon ROM for my LG G3 d850, I came across this error:

Quote:









packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragEnabled' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'collapsedHeight' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragScrollStart' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'maxDragScrollSpeed' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'floatAlpha' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'slideShuffleSpeed' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'trackDragSort' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'useDefaultController' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragHandleId' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'sortEnabled' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'removeEnabled' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'dragStartMode' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'removeMode' in package 'com.android.settings'

packages/apps/Settings/res/layout/action_list_view_main.xml:44: error: No resource identifier found for attribute 'floatBackgroundColor' in package 'com.android.settings'

make: *** [/run/media/raleigh/Media/Android-Builds/CarbonROM/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....




When you look at the file packages/apps/Settings/res/layout/action_list_view_main.xml on line 44, it shows the following code: <com.android.settings.slim.dslv.DragSortListView

I've checked and the file is under the src/com/android/settings/slim/dslv directory. The file DragSortListView.java is there. So my question is, why am I getting the error if all of the files are there?



No comments:

Post a Comment