zxing-android-embedded
zxing-android-embedded copied to clipboard
android.content.res.Resources$NotFoundException while trying to open CaptureActivity
Description of the problem:
com.journeyapps.barcodescanner.CaptureActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7d070019
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3431)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7664)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7d070019
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:237)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2400)
at android.content.res.Resources.getLayout(Resources.java:1252)
at android.view.LayoutInflater.inflate(LayoutInflater.java:530)
at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:455)
at android.app.Activity.setContentView(Activity.java:3468)
at com.journeyapps.barcodescanner.CaptureActivity.a(Unknown Source:3)
at com.journeyapps.barcodescanner.CaptureActivity.onCreate(Unknown Source:3)
Which library version are you using? E.g. 4.2.0.
Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5, Android 5.0) Google Pixel 4a
Does the same happen on other devices or an emulator? Yes
Can you reproduce the issue in the sample project included with the library? If not, can you provide your own sample project or sample code that produces this error? Try to open CaptureActvity
In the case of an error do you have a stack trace or adb logs?