0
Android拋出一個錯誤:這是什麼意思?
02-27 19:57:57.935: E/AndroidRuntime(14261): FATAL EXCEPTION: main
02-27 19:57:57.935: E/AndroidRuntime(14261): Process: com.vamC.jdbc, PID: 14261
02-27 19:57:57.935: E/AndroidRuntime(14261): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vamC.jdbc/classification.ClassificationTest}: android.content.res.Resources$NotFoundException: String resource ID #0x2
02-27 19:57:57.935: E/AndroidRuntime(14261): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2359)
02-27 19:57:57.935: E/AndroidRuntime(14261): at android.app.ActivityThread.startActivityNow(ActivityThread.java:2183)
02-27 19:57:57.935: E/AndroidRuntime(14261): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:136)
這意味着您正在嘗試使用'R.id。****'在該上下文中找不到的東西。 – Rohit5k2