xamarin 错误找不到资源ID #0xffffffff

qlfbtfca  于 2022-12-07  发布在  其他
关注(0)|答案(1)|浏览(149)

得到一个错误。看起来错误是在Process: com.testpackage.digitalwallet, PID: 3041行上的包名。我不确定如何调试此错误

[TabLayout] MODE_SCROLLABLE + GRAVITY_FILL is not supported, GRAVITY_START will be used instead
[h.digitalwalle] Explicit concurrent copying GC freed 64891(3MB) AllocSpace objects, 19(996KB) LOS objects, 53% free, 5MB/11MB, paused 50us total 30.478ms
[h.digitalwalle] No package ID ff found for ID 0xffffffff.
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: com.testpackage.digitalwallet, PID: 3041
[AndroidRuntime] android.content.res.Resources$NotFoundException: Unable to find resource ID #0xffffffff
[AndroidRuntime]    at android.content.res.ResourcesImpl.getResourceTypeName(ResourcesImpl.java:283)
[AndroidRuntime]    at android.content.res.Resources.getResourceTypeName(Resources.java:2001)
[AndroidRuntime]    at androidx.fragment.app.FragmentAnim.loadAnimation(FragmentAnim.java:79)
[AndroidRuntime]    at androidx.fragment.app.DefaultSpecialEffectsController$AnimationInfo.getAnimation(DefaultSpecialEffectsController.java:796)
[AndroidRuntime]    at androidx.fragment.app.DefaultSpecialEffectsController.startAnimations(DefaultSpecialEffectsController.java:144)
[AndroidRuntime]    at androidx.fragment.app.DefaultSpecialEffectsController.executeOperations(DefaultSpecialEffectsController.java:120)
[AndroidRuntime]    at androidx.fragment.app.SpecialEffectsController.executePendingOperations(SpecialEffectsController.java:294)
[AndroidRuntime]    at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2202)
[AndroidRuntime]    at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2100)
[AndroidRuntime]    at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2002)
[AndroidRuntime]    at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:524)
[AndroidRuntime]    at android.os.Handler.handleCallback(Handler.java:873)
[AndroidRuntime]    at android.os.Handler.dispatchMessage(Handler.java:99)
[AndroidRuntime]    at android.os.Looper.loop(Looper.java:214)
[AndroidRuntime]    at android.app.ActivityThread.main(ActivityThread.java:7073)
9bfwbjaz

9bfwbjaz1#

我通过从csproj文件中删除所有的Xamarin.Android.Support.*Xamarin.AndroidX.*包来解决这个问题。我立即停止了这些错误。

相关问题