Below is the summary of log. I pushed the change on one branch. It was successful and merged. But, When I cherry picked the change to another branch, Its failing and below is summary of log.
:processDebugManifest
:splitsDiscoveryTaskDebug
:processDebugResources
:generateDebugSources
:javaPreCompileDebug
:compileDebugJavaWithJavac/home/dpi/qb5_8814/workspace/PACKAGES2/PACKAGES2/src/main/java/com/sec/unifiedwfc/ux/elements/WfcPrefListPreference.java:20: error: package R does not exist
setLayoutResource(R.layout.list_preference_item);
^
/home/dpi/qb5_8814/workspace/PACKAGES2/PACKAGES2/src/main/java/com/sec/unifiedwfc/ux/elements/E911Preference.java:27: error: package R does not exist
setLayoutResource(R.layout.list_preference_item);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILED
FAILURE: Build failed with an exception.
* What went wrong: