[Android General] shingz96:
When i first run error showing below

07-19 00:25:58.661 2481-2494/com.wubydax.romcontrol.v2 E/AndroidRuntime: FATAL EXCEPTION: FinalizerWatchdogDaemon

Process: com.wubydax.romcontrol.v2, PID: 2481

java.util.concurrent.TimeoutException: android.content.res.XmlBlock$Parser.finalize() timed out after 10 seconds

at android.content.res.AssetManager.xmlBlockGone(AssetManager.java:496)

at android.content.res.XmlBlock.decOpenCountLocked(XmlBlock.java:63)

at android.content.res.XmlBlock.access$1600(XmlBlock.java:34)

at android.content.res.XmlBlock$Parser.close(XmlBlock.java:448)

at android.content.res.XmlBlock$Parser.finalize(XmlBlock.java:454)

at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:190)

at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:173)

at java.lang.Thread.run(Thread.java:818)

Second run:

07-19 00:27:34.052 2943-2943/com.wubydax.romcontrol.v2 E/AndroidRuntime: FATAL EXCEPTION: main

Process: com.wubydax.romcontrol.v2, PID: 2943

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wubydax.romcontrol.v2/com.wubydax.romcontrol.v2.MainActivity}: android.view.InflateException: Binary XML file line #88: Error inflating class java.lang.reflect.Constructor

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)

at android.app.ActivityThread.access$800(ActivityThread.java:144)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5221)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

Caused by: android.view.InflateException: Binary XML file line #88: Error inflating class java.lang.reflect.Constructor

at android.preference.GenericInflater.createItem(GenericInflater.java:397)

at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:430)

at android.preference.GenericInflater.rInflate(GenericInflater.java:481)

at android.preference.GenericInflater.rInflate(GenericInflater.java:493)

at android.preference.GenericInflater.inflate(GenericInflater.java:326)

at android.preference.GenericInflater.inflate(GenericInflater.java:263)

at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)

at android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:299)

at com.wubydax.romcontrol.v2.PrefsFragment.onCreate(PrefsFragment.java:66)

at android.app.Fragment.performCreate(Fragment.java:2031)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:863)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)

at android.app.BackStackRecord.run(BackStackRecord.java:833)

at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)

at android.app.Activity.performStart(Activity.java:5948)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)*

at android.app.ActivityThread.access$800(ActivityThread.java:144)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)*

at android.os.Handler.dispatchMessage(Handler.java:102)*

at android.os.Looper.loop(Looper.java:135)*

at android.app.ActivityThread.main(ActivityThread.java:5221)*

at java.lang.reflect.Method.invoke(Native Method)*

at java.lang.reflect.Method.invoke(Method.java:372)*

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)*

Caused by: java.lang.reflect.InvocationTargetException

at java.lang.reflect.Constructor.newInstance(Native Method)

at java.lang.reflect.Constructor.newInstance(Constructor.java:288)

at android.preference.GenericInflater.createItem(GenericInflater.java:383)

at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:430)*

at android.preference.GenericInflater.rInflate(GenericInflater.java:481)*

at android.preference.GenericInflater.rInflate(GenericInflater.java:493)*

at android.preference.GenericInflater.inflate(GenericInflater.java:326)*

at android.preference.GenericInflater.inflate(GenericInflater.java:263)*

at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)*

at android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:299)*

at com.wubydax.romcontrol.v2.PrefsFragment.onCreate(PrefsFragment.java:66)*

at android.app.Fragment.performCreate(Fragment.java:2031)*

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:863)*

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)*

at android.app.BackStackRecord.run(BackStackRecord.java:833)*

at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)*

at android.app.Activity.performStart(Activity.java:5948)*

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)*

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)*

at android.app.ActivityThread.access$800(ActivityThread.java:144)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)*

at android.os.Handler.dispatchMessage(Handler.java:102)*

at android.os.Looper.loop(Looper.java:135)*

at android.app.ActivityThread.main(ActivityThread.java:5221)*

at java.lang.reflect.Method.invoke(Native Method)*

at java.lang.reflect.Method.invoke(Method.java:372)*

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)*

Caused by: java.lang.NullPointerException: key == null

at android.os.Parcel.readException(Parcel.java:1546)

at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)

at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)

at android.content.ContentProviderProxy.call(ContentProviderNative.java:643)

at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:1141)

at android.provider.Settings$System.getStringForUser(Settings.java:1336)

at android.provider.Settings$System.getIntForUser(Settings.java:1440)

at android.provider.Settings$System.getInt(Settings.java:1434)

at com.wubydax.romcontrol.v2.prefs.ColorPickerPreference.onGetDefaultValue(ColorPickerPreference.java:152)

at android.preference.Preference.<init>(Preference.java:271)

at android.preference.Preference.<init>(Preference.java:309)

at android.preference.Preference.<init>(Preference.java:327)

at com.wubydax.romcontrol.v2.prefs.ColorPickerPreference.<init>(ColorPickerPreference.java:0)

at java.lang.reflect.Constructor.newInstance(Native Method)*

at java.lang.reflect.Constructor.newInstance(Constructor.java:288)*

at android.preference.GenericInflater.createItem(GenericInflater.java:383)*

at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:430)*

at android.preference.GenericInflater.rInflate(GenericInflater.java:481)*

at android.preference.GenericInflater.rInflate(GenericInflater.java:493)*

at android.preference.GenericInflater.inflate(GenericInflater.java:326)*

at android.preference.GenericInflater.inflate(GenericInflater.java:263)*

at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)*

at android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:299)*

at com.wubydax.romcontrol.v2.PrefsFragment.onCreate(PrefsFragment.java:66)*

at android.app.Fragment.performCreate(Fragment.java:2031)*

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:863)*

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)*

at android.app.BackStackRecord.run(BackStackRecord.java:833)*

at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)*

at android.app.Activity.performStart(Activity.java:5948)*

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)*

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)*

at android.app.ActivityThread.access$800(ActivityThread.java:144)*

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)*

at android.os.Handler.dispatchMessage(Handler.java:102)*

at android.os.Looper.loop(Looper.java:135)*

at android.app.ActivityThread.main(ActivityThread.java:5221)*

at java.lang.reflect.Method.invoke(Native Method)*

at java.lang.reflect.Method.invoke(Method.java:372)*

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)*

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)*

I just try to build the app without changing any java code, only little changes in gradle stuff to work on my PC.

Source: https://github.com/shingz96/6thGear-RomControl-v2.0