Android使用AlertDialog实现弹出菜单的详细过程
--------- beginning of crash
04-18 17:08:40.940 6011 6011 E AndroidRuntime: FATAL EXCEPTION: main
04-18 17:08:40.940 6011 6011 E AndroidRuntime: Process: com.cictech.xlauncher, PID: 6011
04-18 17:08:40.940 6011 6011 E AndroidRuntime: android.content.res.Resources$NotFoundException: Resource ID #0x0
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:237)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.content.res.Resources.loadXmlResourceParser(Resources.java:2400)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.content.res.Resources.getLayout(Resources.java:1252)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:530)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.appcompat.app.AlertController$AlertParams.createListView(AlertController.java:989)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.appcompat.app.AlertController$AlertParams.apply(AlertController.java:965)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.appcompat.app.AlertDialog$Builder.create(AlertDialog.java:984)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at com.cictech.xlauncher.MainActivity$7.onClick(MainActivity.java:188)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.View.performClick(View.java:7448)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.View.performClickInternal(View.java:7425)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.View.onKeyUp(View.java:15060)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.KeyEvent.dispatch(KeyEvent.java:2892)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.View.dispatchKeyEvent(View.java:14247)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1954)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1959)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1959)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1959)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1959)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1959)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1959)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at com.android.internal.policy.DecorView.superDispatchKeyEvent(DecorView.java:476)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1861)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.app.Activity.dispatchKeyEvent(Activity.java:4085)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.core.app.ComponentActivity.superDispatchKeyEvent(ComponentActivity.java:126)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.core.view.KeyEventDispatcher.dispatchKeyEvent(KeyEventDispatcher.java:86)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.core.app.ComponentActivity.dispatchKeyEvent(ComponentActivity.java:144)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.appcompat.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:604)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.appcompat.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:60)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.dispatchKeyEvent(AppCompatDelegateImpl.java:3413)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:390)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:5977)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5845)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5340)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5397)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5363)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5515)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5371)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5572)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5344)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5397)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5363)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5371)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5344)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5397)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5363)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5548)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:5706)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:3179)
04-18 17:08:40.940 6011 6011 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:2721)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:2712)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:3156)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:143)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:335)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at android.os.Looper.loop(Looper.java:183)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7695)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
04-18 17:08:40.943 6011 6011 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
04-18 17:08:40.947 2569 2813 D AudioFlinger: mixer(0xabae2080) throttle end: throttle time(45)
04-18 17:08:40.964 2774 3534 W ActivityTaskManager: Force finishing activity com.cictech.xlauncher/.MainActivity
- .NET Core系列之MemoryCache 初识
- 007手机一键Root(安机网一键Root) v3.0 官方最新版 一键ROOT您的Android手机
- 12306密码被盗了怎么办?12306密码外泄解决方法
- 12个字的qq网名
- 150M迷你型无线路由器怎么设置?
- 192.168.1.1打不开怎么办?路由器192.168.1.1打不开的原因以及解决办法
- 2011年电子报合订本 电子报 编辑部 中文 PDF版 [84M]
- 2015年1月15日小米新旗舰发布会现场图文直播
- 2016.3.1vivo Xplay5新品发布会现场视频直播 优酷直播
- 2016华为P9发布会视频直播地址 4月15日华为P9国行发布会直播
相关文章
- android 仿QQ动态背景、视频背景的示例代码
- Andronix app for Android(Linux模拟器)v7.1安卓版
- Android MeasureSpec的理解和源码的解析
- Android中ContentProvider和ContentResolver详解
- Android中PackageManager使用详解
- android的activity跳转到另一个activity
- Android自定义Toast样式实现方法详解
- QQ桌面Pro(手机桌面管理软件) for android V2.5.0.372 安卓版
- Android不显示开机向导和开机气泡问题
- Android入门教程之ListView的具体使用详解