KomodoOpenLab / tecla-framework

This repo is now deprecated, please move on to https://github.com/idrc/tecla-hud
http://komodoopenlab.com/tecla/
2 stars 9 forks source link

Crash on attempt to start SettingsActivity After Recreating Symlinks #410

Closed k22mak closed 11 years ago

k22mak commented 11 years ago

Steps to Recreate: 1) Start with build from 2013/10/29 2) Pull from develop branch for the framework and latinIME projects to retrieve updates 3) Recreated symlinks as per steps 4-6 in https://github.com/idrc/tecla-framework/wiki/Contributing-Code. 4) Move all files from the com.android.inputmethodcommon.java.com.android.inputmethodcommon package into the com.android.inputmethodcommon package in eclipse (Removes all errors in the project) 5) Build and run the project.

Trace: E/AndroidRuntime(30267): FATAL EXCEPTION: main E/AndroidRuntime(30267): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.inputmethod.latin/com.android.tecla.PreferencesActivity}: android.view.InflateException: Binary XML file line #25: Error inflating class ca.idi.tecla.lib.ListPreference E/AndroidRuntime(30267): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211) E/AndroidRuntime(30267): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261) E/AndroidRuntime(30267): at android.app.ActivityThread.access$600(ActivityThread.java:141) E/AndroidRuntime(30267): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256) E/AndroidRuntime(30267): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(30267): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(30267): at android.app.ActivityThread.main(ActivityThread.java:5103) E/AndroidRuntime(30267): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(30267): at java.lang.reflect.Method.invoke(Method.java:525) E/AndroidRuntime(30267): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) E/AndroidRuntime(30267): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) E/AndroidRuntime(30267): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(30267): Caused by: android.view.InflateException: Binary XML file line #25: Error inflating class ca.idi.tecla.lib.ListPreference E/AndroidRuntime(30267): at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:441)

ijdoc commented 11 years ago

This error is due to a new dependency of the project. Please include the InputAccessLib project as a library for the framework

k22mak commented 11 years ago

Issue solved.