[Q] i/o error on database - Android Q&A, Help & Troubleshooting

hello im getting the following errors in the logcat, this couses my phone to crush on acore and others as well.
any ideas about it?
thanks.
I/Database( 1277): sqlite returned: error code = 266, msg = disk I/O error
E/Database( 1277): CREATE TABLE android_metadata failed
E/Database( 1277): Failed to setLocale() when constructing, closing the database
E/Database( 1277): android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:1987)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1855)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:854)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:847)
E/Database( 1277): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:551)
E/Database( 1277): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/Database( 1277): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
E/Database( 1277): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2890)
E/Database( 1277): at com.android.providers.contacts.CallLogProvider.onCreate(CallLogProvider.java:114)
E/Database( 1277): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/Database( 1277): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/Database( 1277): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/Database( 1277): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/Database( 1277): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/Database( 1277): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/Database( 1277): at android.os.Handler.dispatchMessage(Handler.java:99)
E/Database( 1277): at android.os.Looper.loop(Looper.java:130)
E/Database( 1277): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/Database( 1277): at java.lang.reflect.Method.invokeNative(Native Method)
E/Database( 1277): at java.lang.reflect.Method.invoke(Method.java:507)
E/Database( 1277): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:861)
E/Database( 1277): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:619)
E/Database( 1277): at dalvik.system.NativeStart.main(Native Method)
D/AndroidRuntime( 1277): Shutting down VM
W/dalvikvm( 1277): threadid=1: thread exiting with uncaught exception (group=0x4001d560)
E/AndroidRuntime( 1277): FATAL EXCEPTION: main
E/AndroidRuntime( 1277): java.lang.RuntimeException: Unable to get provider com.android.providers.contacts.CallLogProvider: android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/AndroidRuntime( 1277): at android.app.ActivityThread.installProvider(ActivityThread.java:3557)
E/AndroidRuntime( 1277): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/AndroidRuntime( 1277): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/AndroidRuntime( 1277): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 1277): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 1277): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1277): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1277): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 1277): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1277): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1277): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:861)
E/AndroidRuntime( 1277): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:619)
E/AndroidRuntime( 1277): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1277): Caused by: android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:1987)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1855)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:854)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:847)
E/AndroidRuntime( 1277): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:551)
E/AndroidRuntime( 1277): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
E/AndroidRuntime( 1277): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2890)
E/AndroidRuntime( 1277): at com.android.providers.contacts.CallLogProvider.onCreate(CallLogProvider.java:114)
E/AndroidRuntime( 1277): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/AndroidRuntime( 1277): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/AndroidRuntime( 1277): ... 12 more
I/SurfaceFlinger( 1072): Boot is finished (28155 ms)
I/ActivityThread( 1239): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
I/GservicesProvider( 1239): Gservices pushing to system: true; secure: true
I/ActivityThread( 1239): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
E/OMXPlayer( 980): reset: 0x10240
D/ ( 980): setting block activity: 1

Related

[Q] phone.apk java.lang.ClassCastException: android.widget.EditText

Hi,
I'm modifying phone.apk on android 1.6 for research activities.
First I added following lines to call_card.xml and everything worked fine
<ImageView
android:src="@drawable/unknowncaller"
android:layout_width="320sp"
android:layout_height="320sp"
></ImageView>
Then I modified the ImageView and added an id:
<ImageView
android:id="@+id/callscreen_test_test"
android:src="@drawable/unknowncaller"
android:layout_width="320sp"
android:layout_height="320sp"
></ImageView>
Since then I get the following exception:
E/AndroidRuntime( 961): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 961): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.InCallScreen}: java.lang.ClassCastException: android.widget.EditText
E/AndroidRuntime( 961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2401)
E/AndroidRuntime( 961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2417)
E/AndroidRuntime( 961): at android.app.ActivityThread.access $2100(ActivityThread.java:116)
E/AndroidRuntime( 961): at android.app.ActivityThread $H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 961): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 961): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 961): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 961): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 961): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 961): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime( 961): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 961): Caused by: java.lang.ClassCastException: android.widget.EditText
E/AndroidRuntime( 961): at com.android.phone.InCallScreen.onCreate(InCallScreen.java:462)
E/AndroidRuntime( 961): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1123)
E/AndroidRuntime( 961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2364)
E/AndroidRuntime( 961): ... 11 more
I don't think that's a bug in the syntax (or I'm blind?), I think that's a bug in compiling and some R.id.* were not updated or so... I compile phone.apk with "mmm packages/apps/Phone".
Please help me.
Thanks
No idea?
Does anyone knows an opensource implementation from an modified phone.apk where I can have a look at?
Thanks

[Q] JB 4.2.1 Photosphere Force Closes

Hi, I just flashed 4.2.1 on my phone and found that PhotoSphere force closes whenever I choose it in the Camera app. adb logcat reveals something like:
W/ApplicationContext( 2892): Unable to create external files directory
E/LightCycle-storage( 2892): Sessions root directory could not be created.
D/AndroidRuntime( 2892): Shutting down VM
W/dalvikvm( 2892): threadid=1: thread exiting with uncaught exception (group=0x41e6e930)
E/AndroidRuntime( 2892): FATAL EXCEPTION: main
E/AndroidRuntime( 2892): java.lang.NullPointerException
E/AndroidRuntime( 2892): at com.google.android.apps.lightcycle.storage.LocalFileStorageManager.cleanUpOldSessions(LocalFileStorageManager.java:428)
E/AndroidRuntime( 2892): at com.google.android.apps.lightcycle.storage.LocalFileStorageManager.init(LocalFileStorageManager.java:66)
E/AndroidRuntime( 2892): at com.google.android.apps.lightcycle.PanoramaModule.onResumeAfterSuper(PanoramaModule.java:276)
E/AndroidRuntime( 2892): at com.android.camera.CameraActivity.openModule(CameraActivity.java:175)
E/AndroidRuntime( 2892): at com.android.camera.CameraActivity.onCameraSelected(CameraActivity.java:161)
E/AndroidRuntime( 2892): at com.android.camera.ui.CameraSwitcher.onCameraSelected(CameraSwitcher.java:104)
E/AndroidRuntime( 2892): at com.android.camera.ui.CameraSwitcher.access$000(CameraSwitcher.java:38)
E/AndroidRuntime( 2892): at com.android.camera.ui.CameraSwitcher$1.onClick(CameraSwitcher.java:130)
E/AndroidRuntime( 2892): at android.view.View.performClick(View.java:4202)
E/AndroidRuntime( 2892): at android.view.View$PerformClick.run(View.java:17340)
E/AndroidRuntime( 2892): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 2892): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2892): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2892): at android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime( 2892): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2892): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2892): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2892): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2892): at dalvik.system.NativeStart.main(Native Method)
I cannot find the source of LightCycle on the web, but apparently, it seems to be a permission issue because it says "E/LightCycle-storage( 2892): Sessions root directory could not be created.". Anyone can give me some hints on how to solve? Thanks!
Francisco
Which phone? Photosphere doesn't work if the phone doesn't have gyroscope!
Sent from my head runnin on CM10!
Lifehacker7 said:
Which phone? Photosphere doesn't work if the phone doesn't have gyroscope!
Sent from my head runnin on CM10!
Click to expand...
Click to collapse
I am using Galaxy Nexus. The problem is that getExternalFilesDir(null) is null.

[Q] Android [Settings] error on Huawei 10FHD

sorry for bad english
Found a strange problem! Pairing tablet via bluetooth with any phone, then choosing pair settings on tablet and in this mometn Settings menu is closing and we see working table with error "error in Settings program". Same thing with choosing mobile network settings. I've got a log of this problem (listed below), anybody can help with this bug?
Code:
D/BluetoothAdapterStateMachine( 1841): BluetoothOn process message: 1
W/BluetoothAdapterStateMachine( 1841): BluetoothOn received: 1
D/BluetoothEnabler( 4541): HW DETECTABILITY DEFAULT is 0
D/LocalBluetoothManager( 4541): setting foreground activity to non-null context
D/BluetoothInputDevice( 4541): getConnectedDevices()
D/BluetoothInputDevice( 4541): getPriority(D8:2A:7E:D1:D1:A2)
D/AndroidRuntime( 4541): Shutting down VM
W/dalvikvm( 4541): threadid=1: thread exiting with uncaught exception (group=0x40a7e1f8)
E/AndroidRuntime( 4541): FATAL EXCEPTION: main
E/AndroidRuntime( 4541): java.lang.NullPointerException
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.HeadsetProfile.isPreferred(HeadsetProfile.java:144)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.CachedBluetoothDevice.connectWithoutResettingTimer(CachedBluetoothDevice.java:238)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.CachedBluetoothDevice.connect(CachedBluetoothDevice.java:209)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.BluetoothDevicePreference.onClicked(BluetoothDevicePreference.java:201)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.DeviceListPreferenceFragment.onDevicePreferenceClick(DeviceListPreferenceFragment.java:192)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.BluetoothSettings.onDevicePreferenceClick(BluetoothSettings.java:369)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.DeviceListPreferenceFragment.onPreferenceTreeClick(DeviceListPreferenceFragment.java:184)
E/AndroidRuntime( 4541): at android.preference.Preference.performClick(Preference.java:949)
E/AndroidRuntime( 4541): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
E/AndroidRuntime( 4541): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
E/AndroidRuntime( 4541): at android.widget.AbsListView.performItemClick(AbsListView.java:1068)
E/AndroidRuntime( 4541): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2524)
E/AndroidRuntime( 4541): at android.widget.AbsListView$1.run(AbsListView.java:3193)
E/AndroidRuntime( 4541): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 4541): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4541): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 4541): at android.app.ActivityThread.main(ActivityThread.java:4521)
E/AndroidRuntime( 4541): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4541): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 4541): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:762)
E/AndroidRuntime( 4541): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:529)
E/AndroidRuntime( 4541): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1841): Force finishing activity com.android.settings/.Settings
D/OppNotification( 2613): Stopping notification thread: NotificationUpdateThread-1356435222415
W/ActivityManager( 1841): Activity pause timeout for ActivityRecord{41595320 com.android.settings/.Settings}
E/dalvikvm( 4801): GC_CONCURRENT freed 1373K, 13% free 11484K/13191K, paused 2ms+15ms
I/Process ( 4541): Sending signal. PID: 4541 SIG: 9
D/Settings( 2052): getAllInstallLangId().length43
D/Settings( 2052): getAllInstallLangId().length43
I/WindowManager( 1841): WIN DEATH: Window{417b2068 com.android.settings/com.android.settings.Settings paused=false}
I/ActivityManager( 1841): Process com.android.settings (pid 4541) has died.
W/ActivityManager( 1841): Activity destroy timeout for ActivityRecord{41595320 com.android.settings/.Settings}

[Q] [Help] Adding Su to build

I'm in the process of learning to build android from source. I've got my AOKP rom booting and am working on adding superuser to it, and am running into troubles. After much googling here is what I've done
Cloned Superuser source code
Code:
git clone git://github.com/ChainsDD/Superuser.git packages/apps/Superuser
Copied the su binary from my current rom (/system/xbin/su) to my device tree
Edited device.mk
Code:
# Build superuser
PRODUCT_PACKAGES := \
Superuser
# copy su binary
PRODUCT_COPY_FILES += \
device/lge/E973/su:system/xbin/su
Everything built fine and Superuser is in my app drawer when rom boots. If i try to open Superuser it force closes. Root checker shows that i am rooted, and typing 'su' in terminal emulator gets root access. Neither will give me a dialog asking to deny or grant.
If i install SuperSuperuser from the market, it will present all the normal dialogs and everything seems as it should.
I'm wondering what it is I'm doing wrong, and how I can correct it.
Here is a logcat of the failed attempt to open superuser
Code:
D/dalvikvm( 2157): Late-enabling CheckJNI
I/ActivityManager( 530): Start proc com.noshufou.android.su for activity com.noshufou.android.su/.Su: pid=2157 uid=10040 gids={50040, 3003, 1015, 1028}
I/dalvikvm( 2157): Turning on JNI app bug workarounds for target SDK version 11...
D/overlay ( 161): FROM_STATE = OV_BYPASS_3_LAYER TO_STATE = OV_CLOSED
I/ActivityThread( 2157): Pub com.noshufou.android.su.provider: com.noshufou.android.su.provider.PermissionsProvider
D/Su.HomeActivity( 2157): onCreate()
D/AndroidRuntime( 2157): Shutting down VM
W/dalvikvm( 2157): threadid=1: thread exiting with uncaught exception (group=0x40dd7930)
E/AndroidRuntime( 2157): FATAL EXCEPTION: main
E/AndroidRuntime( 2157): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.noshufou.android.su/com.noshufou.android.su.HomeActivity}: java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306)
E/AndroidRuntime( 2157): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2356)
E/AndroidRuntime( 2157): at android.app.ActivityThread.access$600(ActivityThread.java:150)
E/AndroidRuntime( 2157): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)
E/AndroidRuntime( 2157): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2157): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2157): at android.app.ActivityThread.main(ActivityThread.java:5193)
E/AndroidRuntime( 2157): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2157): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2157): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 2157): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 2157): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2157): Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at com.actionbarsherlock.ActionBarSherlock.wrap(ActionBarSherlock.java:232)
E/AndroidRuntime( 2157): at com.actionbarsherlock.app.SherlockFragmentActivity.getSherlock(SherlockFragmentActivity.java:32)
E/AndroidRuntime( 2157): at com.actionbarsherlock.app.SherlockFragmentActivity.requestWindowFeature(SherlockFragmentActivity.java:265)
E/AndroidRuntime( 2157): at com.noshufou.android.su.HomeActivity.onCreate(HomeActivity.java:59)
E/AndroidRuntime( 2157): at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 2157): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 2157): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260)
E/AndroidRuntime( 2157): ... 11 more
E/AndroidRuntime( 2157): Caused by: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at java.lang.Class.getConstructorOrMethod(Class.java:460)
E/AndroidRuntime( 2157): at java.lang.Class.getConstructor(Class.java:431)
E/AndroidRuntime( 2157): at com.actionbarsherlock.ActionBarSherlock.wrap(ActionBarSherlock.java:229)
E/AndroidRuntime( 2157): ... 17 more
W/ActivityManager( 530): Force finishing activity com.noshufou.android.su/.Su
D/dalvikvm( 2157): GC_CONCURRENT freed 219K, 15% free 2489K/2912K, paused 2ms+1ms, total 21ms
I/dalvikvm( 530): Jit: resizing JitTable from 8192 to 16384
W/ActivityManager( 530): Activity pause timeout for ActivityRecord{41681370 u0 com.noshufou.android.su/.Su}
I/Process ( 2157): Sending signal. PID: 2157 SIG: 9
I/ActivityManager( 530): Process com.noshufou.android.su (pid 2157) has died.
W/InputMethodManagerService( 530): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
D/dalvikvm( 530): GC_CONCURRENT freed 7964K, 44% free 13574K/23868K, paused 2ms+6ms, total 57ms
D/overlay ( 161): FROM_STATE = OV_CLOSED TO_STATE = OV_BYPASS_3_LAYER
just a lilttle bump, if anyone can just point me in the dirrection of where i'm going wrong here I would be very appreciative.

[Q] Changing Settings to Holo.Light causing fc?

So, I am trying to theme my OmniRom Settings.apk in Holo Light style, using styles.xml.
All works perfectly, exept for one thing:
When tapping "Quick Launch Shortcuts", I get a force close.
Got a log here:
Code:
D/SubSettings( 2133): Launching fragment org.omnirom.omnigears.interfacesettings.NavRing
D/AndroidRuntime( 2133): Shutting down VM
W/dalvikvm( 2133): threadid=1: thread exiting with uncaught exception (group=0x4178fba8)
E/AndroidRuntime( 2133): FATAL EXCEPTION: main
E/AndroidRuntime( 2133): Process: com.android.settings, PID: 2133
E/AndroidRuntime( 2133): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: android.view.InflateException: Binary XML file line #7: Error inflating class com.android.internal.widget.multiwaveview.GlowPadView
E/AndroidRuntime( 2133): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
E/AndroidRuntime( 2133): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
E/AndroidRuntime( 2133): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime( 2133): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime( 2133): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2133): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2133): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime( 2133): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2133): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2133): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime( 2133): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime( 2133): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2133): Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class com.android.internal.widget.multiwaveview.GlowPadView
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createView(LayoutInflater.java:620)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
E/AndroidRuntime( 2133): at org.omnirom.omnigears.interfacesettings.NavRing.onCreateView(NavRing.java:108)
E/AndroidRuntime( 2133): at android.app.Fragment.performCreateView(Fragment.java:1700)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
E/AndroidRuntime( 2133): at android.app.BackStackRecord.run(BackStackRecord.java:684)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
E/AndroidRuntime( 2133): at android.app.Activity.performStart(Activity.java:5240)
E/AndroidRuntime( 2133): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)
E/AndroidRuntime( 2133): ... 11 more
E/AndroidRuntime( 2133): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2133): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2133): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createView(LayoutInflater.java:594)
E/AndroidRuntime( 2133): ... 23 more
E/AndroidRuntime( 2133): Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x10
E/AndroidRuntime( 2133): at android.content.res.TypedArray.getDimension(TypedArray.java:399)
E/AndroidRuntime( 2133): at com.android.internal.widget.multiwaveview.GlowPadView.<init>(GlowPadView.java:242)
E/AndroidRuntime( 2133): ... 26 more
W/ActivityManager( 799): Force finishing activity com.android.settings/.SubSettings
W/ActivityManager( 799): Force finishing activity com.android.settings/.SubSettings
The issue only appears with light themed settings, so it must be caused by one of my changes in styles.xml.
Any help would be greatly appreciated.
Thanks in advance.
Solved by copying the related xmls from unmodified apk over to modified one.

Categories

Resources