I am using some of the Jetpack
libraries and also using instantstart.
I am getting these errors:
Android resource linking failed Output: /base/build/intermediates/merged_manifests/debugFeature/processDebugFeatureManifest/merged/AndroidManifest.xml:66: error: resource bool/enable_system_alarm_service_default (aka farm.app:bool/enable_system_alarm_service_default) not found.
/base/build/intermediates/merged_manifests/debugFeature/processDebugFeatureManifest/merged/AndroidManifest.xml:71: error: resource bool/enable_system_job_service_default (aka farm.app:bool/enable_system_job_service_default) not found.
/base/build/intermediates/merged_manifests/debugFeature/processDebugFeatureManifest/merged/AndroidManifest.xml:122: error: resource bool/enable_system_alarm_service_default (aka farm.app:bool/enable_system_alarm_service_default) not found.
/base/build/intermediates/merged_manifests/debugFeature/processDebugFeatureManifest/merged/AndroidManifest.xml:137: error: resource integer/google_play_services_version (aka farm.app:integer/google_play_services_version) not found. error: failed processing manifest.
And one example of what is in the combined AndroidManifest
is:
<receiver
android:name="androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver"
android:enabled="@bool/enable_system_alarm_service_default"
android:exported="false" >
<intent-filter>
<action android:name="androidx.work.impl.background.systemalarm.UpdateProxies" />
</intent-filter>
</receiver>
I looked at Error processing / merging manifest but it is different as I didn't create these values.
Should I just create a res/values for these booleans or should they be there and I missed including something.
The files that seem to be the cause are:
def work_version = "1.0.0-alpha04"
implementation "android.arch.work:work-runtime-ktx:$work_version" // use -ktx for Kotlin
// optional - Firebase JobDispatcher support implementation "android.arch.work:work-firebase:$work_version"
// optional - Test helpers androidTestImplementation "android.arch.work:work-testing:$work_version"
You should also add a dependency to your app module or core module:
implementation 'androidx.work:work-runtime-ktx:2.3.4'
Once you add, then again add in your module where you need it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With