Please help me with this bug. I just updated my Android Studio to the latest stable version, it worked well but few hours later it gave these errors. I have cleaned, built and invalidated and restarted, restarted my system, all to no avail.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
Output:
C:\MobileApps\Horizon\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2242: error: resource drawable/splash_screen (aka com.app.horizon:drawable/splash_screen) not found.
error: failed linking references.
Command: C:\Users\Princess\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\5afbf0b04aa8d2fca30ef18a7d5209a7\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
C:\Users\Princess\AppData\Local\Android\sdk\platforms\android-28\android.jar\
--manifest\
C:\MobileApps\Horizon\app\build\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\
-o\
C:\MobileApps\Horizon\app\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\
-R\
@C:\MobileApps\Horizon\app\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
C:\MobileApps\Horizon\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\
--proguard-main-dex\
C:\MobileApps\Horizon\app\build\intermediates\legacy_multidex_aapt_derived_proguard_rules\debug\processDebugResources\manifest_keep.txt\
--custom-package\
com.app.horizon\
-0\
apk\
--output-text-symbols\
C:\MobileApps\Horizon\app\build\intermediates\symbols\debug\R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
Output: C:\MobileApps\Horizon\app\src\main\res\values\styles.xml: AAPT: error: resource drawable/splash_screen (aka com.app.horizon:drawable/splash_screen) not found.
error: failed linking references.
Command: C:\Users\Princess\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971 windows.jar\5afbf0b04aa8d2fca30ef18a7d5209a7\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
C:\Users\Princess\AppData\Local\Android\sdk\platforms\android-28\android.jar\
--manifest\
C:\MobileApps\Horizon\app\build\intermediates\merged_manifests\debug\processDebugManifest\merged\AndroidManifest.xml\
-o\
C:\MobileApps\Horizon\app\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\
-R\
@C:\MobileApps\Horizon\app\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\
--auto-add-overlay\
--java\
C:\MobileApps\Horizon\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\
--proguard-main-dex\
C:\MobileApps\Horizon\app\build\intermediates\legacy_multidex_aapt_derived_proguard_rules\debug\processDebugResources\manifest_keep.txt\
--custom-package\
com.app.horizon\
-0\
apk\
--output-text-symbols\
C:\MobileApps\Horizon\app\build\intermediates\symbols\debug\R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0