This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! apktool Resources$NotFoundException

Hello everyone, I'm trying to decompile an apk but after rebuilding I get this error:
```
02-27 15:19:54.170 9194 9194 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.app/com.myapp.app.BootstrapActivity}: android.content.res.Resources$NotFoundException: Drawable com.myapp.app:drawable/background_splash with resource ID #0x7f08009e
```

But if I check the com.myapp.app/res/values/public.xml I get:
```
<public type="drawable" name="background_splash" id="0x7f08009e" />
```

`com.myapp.app/res/drawable/background_splash.xml`:
```<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<color android:color="@Color/splashscreen_background_color" />
</item>
<item>
<bitmap android:gravity="center" android:src="@null" />
</item>
</layer-list>
```

I just used apktool d base.apk and apktool b base, It is a .xapk unzipped.