[Galaxy Note 3 Android Development] balla48801:
Cant get the torchlight to work on verizon note4. I get Torchlight to show up in display but get a force close when I click on it. I went through and matched all public.xml with torchlightsettings.smali properly. Double checked that multiple times. Used both the flashlight zip from op with no luck and then found the one later in the thread and still no luck. Made sure i copied all files to there correct folders. Here is my logcat showing fatal error.

E/AndroidRuntime( 4917): FATAL EXCEPTION: main

E/AndroidRuntime( 4917): Process: com.android.settings, PID: 4917

E/AndroidRuntime( 4917): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: android.content.res.Resources$NotFoundException: Resource ID #0x7f1006e0 type #0x12 is not valid

E/AndroidRuntime( 4917):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2712)

E/AndroidRuntime( 4917):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2779)

E/AndroidRuntime( 4917):	at android.app.ActivityThread.access$900(ActivityThread.java:179)

E/AndroidRuntime( 4917):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1462)

E/AndroidRuntime( 4917):	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime( 4917):	at android.os.Looper.loop(Looper.java:145)

E/AndroidRuntime( 4917):	at android.app.ActivityThread.main(ActivityThread.java:5974)

E/AndroidRuntime( 4917):	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 4917):	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 4917):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)

E/AndroidRuntime( 4917):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)

E/AndroidRuntime( 4917):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)

E/AndroidRuntime( 4917): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f1006e0 type #0x12 is not valid

E/AndroidRuntime( 4917):	at android.content.res.Resources.loadXmlResourceParser(Resources.java:3929)

E/AndroidRuntime( 4917):	at android.content.res.Resources.getXml(Resources.java:2210)

E/AndroidRuntime( 4917):	at android.content.res.XResources.getXml(XResources.java:880)

E/AndroidRuntime( 4917):	at android.preference.GenericInflater.inflate(GenericInflater.java:261)

E/AndroidRuntime( 4917):	at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)

E/AndroidRuntime( 4917):	at android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:300)

E/AndroidRuntime( 4917):	at com.android.settings.torchlight.TorchlightSettings.onCreate(TorchlightSettings.java)

E/AndroidRuntime( 4917):	at android.app.Fragment.performCreate(Fragment.java:2075)

E/AndroidRuntime( 4917):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:868)

E/AndroidRuntime( 4917):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1082)

E/AndroidRuntime( 4917):	at android.app.BackStackRecord.run(BackStackRecord.java:833)

E/AndroidRuntime( 4917):	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1467)

E/AndroidRuntime( 4917):	at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:488)

E/AndroidRuntime( 4917):	at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:2025)

E/AndroidRuntime( 4917):	at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:1475)