Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

µg UnifiedNlp Settings crashes when selecting Configure options #21

Closed
prurigro opened this issue Jul 8, 2015 · 0 comments
Closed

Comments

@prurigro
Copy link
Contributor

prurigro commented Jul 8, 2015

I'm running a build of commit e1b757de3e5003a3cee2e3a9d4e16cfb5a778ade (the latest master as of writing this comment).

Starting µg UnifiedNlp Settings through the terminal by running am start com.google.android.gms/org.microg.nlp.ui.SettingsActivity as root or through the new option in the µg Settings menu, and then selecting either Configure option (Configure location backends or Configure address lookup backends) causes µg UnifiedNlp Settings to crash.

The logcat output from this crash is as follows:

V/WindowManager( 2731): not Base app: Adding window Window{dbea3a u0 com.google.android.gms/org.microg.nlp.ui.SettingsActivity} at 9 of 15
D/AndroidRuntime(28300): Shutting down VM
E/AndroidRuntime(28300): FATAL EXCEPTION: main
E/AndroidRuntime(28300): Process: com.google.android.gms, PID: 28300
E/AndroidRuntime(28300): android.view.InflateException: Binary XML file line #51: Error inflating class <unknown>
E/AndroidRuntime(28300):    at android.view.LayoutInflater.createView(LayoutInflater.java:633)
E/AndroidRuntime(28300):    at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:55)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.onCreateView(LayoutInflater.java:682)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
E/AndroidRuntime(28300):    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime(28300):    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:684)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.inflate(Unknown Source)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
E/AndroidRuntime(28300):    at org.microg.nlp.ui.AbstractBackendPreference$Adapter.getView(AbstractBackendPreference.java:147)
E/AndroidRuntime(28300):    at android.widget.AbsListView.obtainView(AbsListView.java:2349)
E/AndroidRuntime(28300):    at android.widget.ListView.measureHeightOfChildren(ListView.java:1270)
E/AndroidRuntime(28300):    at android.widget.ListView.onMeasure(ListView.java:1182)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
E/AndroidRuntime(28300):    at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
E/AndroidRuntime(28300):    at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
E/AndroidRuntime(28300):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
E/AndroidRuntime(28300):    at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2871)
E/AndroidRuntime(28300):    at android.view.View.measure(View.java:17554)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2015)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1148)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1379)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
E/AndroidRuntime(28300):    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5891)
E/AndroidRuntime(28300):    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
E/AndroidRuntime(28300):    at android.view.Choreographer.doCallbacks(Choreographer.java:580)
E/AndroidRuntime(28300):    at android.view.Choreographer.doFrame(Choreographer.java:550)
E/AndroidRuntime(28300):    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
E/AndroidRuntime(28300):    at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(28300):    at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(28300):    at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(28300):    at android.app.ActivityThread.main(ActivityThread.java:5289)
E/AndroidRuntime(28300):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(28300):    at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(28300):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime(28300):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime(28300):    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
E/AndroidRuntime(28300): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime(28300):    at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime(28300):    at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime(28300):    at android.view.LayoutInflater.createView(LayoutInflater.java:607)
E/AndroidRuntime(28300):    ... 53 more
E/AndroidRuntime(28300): Caused by: java.lang.RuntimeException: Failed to
I/Xposed  ( 2731): faked signature
W/ActivityManager( 2731):   Force finishing activity 1 com.google.android.gms/org.microg.nlp.ui.SettingsActivity

I should add that I'm using the FakeGApps Xposed module, and I'm on a very recent nightly of CM 12.1, using a custom theme and running on a Nexus 6.

Hope this helps- cheers!

arnauvp pushed a commit to e-foundation/android_packages_apps_GmsCore that referenced this issue Apr 20, 2020
arnauvp pushed a commit to e-foundation/android_packages_apps_GmsCore that referenced this issue Apr 20, 2020
microg#21 fix: don't show 2 links to microG in Settings

See merge request e/apps/GmsCore!4
Haamar pushed a commit to Haamar/GmsCore that referenced this issue Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant