Android Question Exception Resource ID # 0x7f030016 when using the adaptive icon x appcompat [Solved]

Livio F

Member
Licensed User
The project is with APPCOMPAT.
After including the icon adaptive to the project in the manifest, it stopped working.
I searched the forum, but I found nothing.

B4X:
java.lang.RuntimeException: Unable to start activity ComponentInfo{b4a.example.second/b4a.example.second.main}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030016
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2861)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2943)
    at android.app.ActivityThread.-wrap11(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1630)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6626)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030016
    at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:215)
    at android.content.res.Resources.loadXmlResourceParser(Resources.java:2134)
    at android.content.res.Resources.getLayout(Resources.java:1143)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:421)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
    at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:770)
    at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:659)
    at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:543)
    at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:166)
 

Attachments

Top