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

Android 3.2.1 crash #46

Closed
ares opened this issue Jun 17, 2013 · 18 comments
Closed

Android 3.2.1 crash #46

ares opened this issue Jun 17, 2013 · 18 comments
Labels

Comments

@ares
Copy link

ares commented Jun 17, 2013

I downloaded 3.2, 3.1 and 3.0 apk and all of them crash immeadiately after start on my Lenovo Ideapad K1. It's Android 3.2.1. I could not test older versions, apk are corrupted (at least what is says...), let me know if I can help you reproducing a problem somehow.

@David-Development
Copy link
Member

I'm going to pusblish a new version in a few hours. I hope it solves your problem!.
--> I've just tested my newest version on Android 4.2.2 (Tablet Emulator) and it works.

@ares
Copy link
Author

ares commented Jun 18, 2013

Can't wait :-) I'll update issue when I test it.

@David-Development
Copy link
Member

Update is available on GitHub already ;-)
https://github.com/owncloud/News-Android-App/raw/master/OwncloudNewsReader.apk

--> Update will be available in a few days on Google Play as well.

@ares
Copy link
Author

ares commented Jun 19, 2013

It didn't help :-/ is there any log I could send you?

@David-Development
Copy link
Member

No, I just recieved the error log in my Google Play Developer Console. When an App crashs, Google automatically send me the crash log. I'm trying to fix this issue. But I don't know why this error is called on some devices. Are you using something special ? A lot of feeds ? More then 1000 unread items ?

@David-Development
Copy link
Member

Okay, probably I found the error and fixed it. But it's not possible to update the apk on Google Play right now because I'm waiting for an official update of the news app. My app doesn't work with the current app from the owncloud apps page.
So update will be avialable in a few days ;)
Or are you using the Version from GitHub already ? Then I can upload an update today.

@David-Development
Copy link
Member

Okay, you can download the newest version now from GitHub ;) I hope it works now !.
--> its version 0.3.4

@ares
Copy link
Author

ares commented Jun 19, 2013

I use github version. I'll buy from Play once it starts at least :-) It is definitely not caused by feed, I was not able to put login credentials yet...I tested latest 0.3.4 and it still crashes. When I run the app it shows header and then it crash immediately. On older android (2.3.3] it works.

@David-Development
Copy link
Member

Okay strange.. I'm going to test this as soon as possible. I hope I can reproduce this issue on an Android 3 Virtual Maschine.

@ares
Copy link
Author

ares commented Jun 24, 2013

Let me know if there's any log I could upload...

@David-Development
Copy link
Member

Oh sorry, forgot this issue. I tried to install the Android 3 x86 version but no success... internet connection sucks. I'll try another version. I hope I can fix this issue in the next release.

Do you get some error log ? Do you have installed Eclipse ? Then you can check the error log via adb (logcat).

@David-Development
Copy link
Member

Can't get an Android-x86 VM with Android 3 running.. So a quick fix is not possible. Sorry

@ares
Copy link
Author

ares commented Jun 25, 2013

I'll try to connect this device and run adb logcat, I haven't done this with this tablet yet :-) Hopefully tomorrow.

@David-Development
Copy link
Member

Thank you, would be really nice! :)

@ares
Copy link
Author

ares commented Jun 26, 2013

I was not able to obtain log via USB however I used some app for that. I attach info I got. Please let me know if I can help further.

Trace:

06-26 19:51:08.240 I/ActivityManager(136): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10104000 cmp=de.luhmer.owncloudnewsreader/.NewsReaderListActivity } from pid 201
06-26 19:51:08.280 I/TabletStatusBar(201): DISABLE_BACK: no
06-26 19:51:08.300 D/PhoneWindow(18797): couldn't save which view has focus because the focused view android.widget.LinearLayout@40c0edb8 has no id.
06-26 19:51:08.310 I/ActivityManager(136): Start proc de.luhmer.owncloudnewsreader for activity de.luhmer.owncloudnewsreader/.NewsReaderListActivity: pid=18905 uid=10152 gids={3003, 1015}
06-26 19:51:08.440 D/AndroidRuntime(18905): Shutting down VM
06-26 19:51:08.440 W/dalvikvm(18905): threadid=1: thread exiting with uncaught exception (group=0x400e0760)
06-26 19:51:08.450 E/AndroidRuntime(18905): FATAL EXCEPTION: main
06-26 19:51:08.450 E/AndroidRuntime(18905): java.lang.RuntimeException: Unable to start activity ComponentInfo{de.luhmer.owncloudnewsreader/de.luhmer.owncloudnewsreader.NewsReaderListActivity}: java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative.
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1815)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.ActivityThread.access$500(ActivityThread.java:122)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.os.Handler.dispatchMessage(Handler.java:99)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.os.Looper.loop(Looper.java:132)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.ActivityThread.main(ActivityThread.java:4123)
06-26 19:51:08.450 E/AndroidRuntime(18905): at java.lang.reflect.Method.invokeNative(Native Method)
06-26 19:51:08.450 E/AndroidRuntime(18905): at java.lang.reflect.Method.invoke(Method.java:491)
06-26 19:51:08.450 E/AndroidRuntime(18905): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
06-26 19:51:08.450 E/AndroidRuntime(18905): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
06-26 19:51:08.450 E/AndroidRuntime(18905): at dalvik.system.NativeStart.main(Native Method)
06-26 19:51:08.450 E/AndroidRuntime(18905): Caused by: java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative.
06-26 19:51:08.450 E/AndroidRuntime(18905): at com.actionbarsherlock.internal.ActionBarSherlockCompat.generateLayout(ActionBarSherlockCompat.java:976)
06-26 19:51:08.450 E/AndroidRuntime(18905): at com.actionbarsherlock.internal.ActionBarSherlockCompat.installDecor(ActionBarSherlockCompat.java:902)
06-26 19:51:08.450 E/AndroidRuntime(18905): at com.actionbarsherlock.internal.ActionBarSherlockCompat.setContentView(ActionBarSherlockCompat.java:836)
06-26 19:51:08.450 E/AndroidRuntime(18905): at com.actionbarsherlock.app.SherlockFragmentActivity.setContentView(SherlockFragmentActivity.java:262)
06-26 19:51:08.450 E/AndroidRuntime(18905): at de.luhmer.owncloudnewsreader.NewsReaderListActivity.onCreate(NewsReaderListActivity.java:55)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.Activity.performCreate(Activity.java:4397)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
06-26 19:51:08.450 E/AndroidRuntime(18905): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1779)
06-26 19:51:08.450 E/AndroidRuntime(18905): ... 11 more
06-26 19:51:08.450 W/ActivityManager(136): Force finishing activity de.luhmer.owncloudnewsreader/.NewsReaderListActivity
06-26 19:51:08.780 D/dalvikvm(201): GC_CONCURRENT freed 2901K, 57% free 14879K/34307K, paused 3ms+6ms
06-26 19:51:09.010 W/ActivityManager(136): Activity pause timeout for ActivityRecord{40365460 de.luhmer.owncloudnewsreader/.NewsReaderListActivity}
06-26 19:51:09.020 I/DemoService(245): DiyScheduer.onStart

Device info:

build.board: ventana
build.bootloader: unknown
build.brand: LENOVO
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: K1
build.display: K1_A301_14_14_120223_SG
build.fingerprint: LENOVO/IdeaPad_Tablet_K1/K1:3.2.1/HTK75C/eng.20120223.172651:user/release-keys
build.hardware: ventana
build.host: mahal_desktop
build.id: HTK75C
build.manufacturer: LENOVO
build.model: K1
build.product: IdeaPad_Tablet_K1
build.radio: unknown
build.serial: CB11879831
build.tags: release-keys
build.time: 1329989325000
build.type: user
build.user: thomas
version.codename: REL
version.incremental: eng.20120223.172651
version.release: 3.2.1
version.sdk_int: 13

@David-Development
Copy link
Member

Should be enough I got the error from the log. Thank you for your help.

@David-Development
Copy link
Member

Should be fixed in 0.3.7

@ares
Copy link
Author

ares commented Jun 28, 2013

Thank you, confirming that it works!

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

No branches or pull requests

2 participants