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

java.lang.NoSuchMethodError: java.lang.String.isEmpty #168

Closed
pilhuhn opened this issue Oct 24, 2013 · 2 comments
Closed

java.lang.NoSuchMethodError: java.lang.String.isEmpty #168

pilhuhn opened this issue Oct 24, 2013 · 2 comments

Comments

@pilhuhn
Copy link
Owner

pilhuhn commented Oct 24, 2013

java.lang.NoSuchMethodError: java.lang.String.isEmpty
at de.bsd.zwitscher.TabWidget.onCreate(TabWidget.java:66)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2675)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
at android.app.ActivityThread.access$2300(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4735)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
@DHuckaby
Copy link

Fyi, this was added in 2.3. For < 2.3 support use something like .length() == 0, or TextUtils.isEmpty()

@pilhuhn
Copy link
Owner Author

pilhuhn commented Oct 26, 2013

@DHuckaby Yeah. It is hard on the verge of Java 8 to remember that Android 2.2 is basically still Java 5 and the others are Java 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants