Build proken by PR #2164 (Add Range Settings to the first statistics page) #2211
Replies: 4 comments 3 replies
-
@Der-Schubi Thanks @tolot27 What could be causing this? |
Beta Was this translation helpful? Give feedback.
-
@Der-Schubi |
Beta Was this translation helpful? Give feedback.
-
@Navid200 I reverted the 5 commits of the PR and after that it builds without problems. |
Beta Was this translation helpful? Give feedback.
-
I assume this is a linker problem. A completely clean build works for me. |
Beta Was this translation helpful? Give feedback.
-
This PR broke the build: #2164
Output:
`> Task :app:compileProdReleaseJavaWithJavac
Gradle may disable incremental compilation as the following annotation processors are not incremental: databinding-compiler-3.4.3.jar (androidx.databinding:databinding-compiler:3.4.3).
Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental.
/home/cs/Android/Projekte/xDrip/app/build/preprocessor/replace/main/java/com/eveningoutpost/dexdrip/deposit/DepositCallback.java:46: warning: as of release 10, 'var' is a restricted local variable type and cannot be used for type declarations or as the element type of an array
var msg = "Error";
^
warning: vm.showButton.get() is a boxed field but needs to be un-boxed to execute !vm.showButton.get(). This may cause NPE so Data Binding will safely unbox it. You can change the expression and explicitly wrap vm.showButton.get() with safeUnbox() to prevent the warning
warning: vm.showButton.get() is a boxed field but needs to be un-boxed to execute vm.showButton.get() ? prefs.getbool("engineering_mode") : false. This may cause NPE so Data Binding will safely unbox it. You can change the expression and explicitly wrap vm.showButton.get() with safeUnbox() to prevent the warning
vm.showButton.get() is a boxed field but needs to be un-boxed to execute !vm.showButton.get(). This may cause NPE so Data Binding will safely unbox it. You can change the expression and explicitly wrap vm.showButton.get() with safeUnbox() to prevent the warning
vm.showButton.get() is a boxed field but needs to be un-boxed to execute vm.showButton.get() ? prefs.getbool("engineering_mode") : false. This may cause NPE so Data Binding will safely unbox it. You can change the expression and explicitly wrap vm.showButton.get() with safeUnbox() to prevent the warning
/home/cs/Android/Projekte/xDrip/app/build/preprocessor/replace/main/java/com/eveningoutpost/dexdrip/stats/FirstPageFragment.java:94: error: cannot find symbol
TextView rangeView = (TextView) localView.findViewById(R.id.textView_stats_range_set);
^
symbol: variable textView_stats_range_set
location: class id
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.
1 error
3 warnings`
Beta Was this translation helpful? Give feedback.
All reactions