Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Build failed: error: package R does not exist setLayoutResource(R.layout.list_preference_item); #4083

HemalAdani ·

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:
  • replies 1
  • views 2283
  • stars 0
robinshen ADMIN ·

Looks like this is caused by your build script or source file instead of QuickBuild.