Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

App immediately closes on Android 5.0.1 #159

Open
mspl13 opened this issue Oct 1, 2022 · 5 comments
Open

App immediately closes on Android 5.0.1 #159

mspl13 opened this issue Oct 1, 2022 · 5 comments
Labels
bug Something isn't working feedback Need feedback otherwise the issue will be closed

Comments

@mspl13
Copy link

mspl13 commented Oct 1, 2022

First of all, thanks for the great app! Use it regularly on an old tablet I still had around and it usually all works great!

Since version 0.7.6, however, the app immediately closes again after launch. Installing an older version (e.g. 0.7.5) of the app allows it to open again. Due to the API changes in the Cookbook server, however, this is sadly not a proper workaround anymore, as recipes can't be displayed.

The tablet is running Android 5.0.1.

@Leptopoda
Copy link
Collaborator

Are you still able to reproduce this on 0.7.9 with the cookbook version 0.10.2 ?

If no I'd close this as outdated. I sadly can't reproduce this.

@Leptopoda Leptopoda added bug Something isn't working feedback Need feedback otherwise the issue will be closed labels Apr 5, 2023
@mspl13
Copy link
Author

mspl13 commented Apr 7, 2023

Yes, I'm still able to reproduce this with the app on version 0.7.9 and the NC coobook app at 0.10.2.

I can help with debugging, if you let me know what information is helpful to you. :)

@Leptopoda
Copy link
Collaborator

A logcat would be great :)

@mspl13
Copy link
Author

mspl13 commented Apr 7, 2023

Sure. Here is a logcat created with adb shell logcat | grep "cookbook" > logcat.txt. I can also provide a more complete logcat, if that's more helpul. :)

D/ActivityManager(  529): startActivity intent packagename com.nextcloud_cookbook_flutter
V/ActivityManager(  529): send smart intent for new activity com.nextcloud_cookbook_flutter Where 1
V/MultiWinService(  529): startActivityMayWait >>> com.nextcloud_cookbook_flutter;com.nextcloud_cookbook_flutter.MainActivity
I/ActivityManager(  529): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nextcloud_cookbook_flutter/.MainActivity bnds=[626,969][859,1113] (has extras)} from uid 10021 on display 0
V/WindowManager(  529): Set focused app to: AppWindowToken{20be4870 token=Token{cf90ab3 ActivityRecord{1ce63022 u0 com.nextcloud_cookbook_flutter/.MainActivity t217}}} old focus=AppWindowToken{b59e5fe token=Token{159d8db9 ActivityRecord{d6a6380 u0 com.lenovo.olauncher/com.android.launcher3.Launcher t213}}} moveFocusNow=true
V/WindowManager(  529): findFocusedWindow: Reached focused app=AppWindowToken{20be4870 token=Token{cf90ab3 ActivityRecord{1ce63022 u0 com.nextcloud_cookbook_flutter/.MainActivity t217}}}
D/WindowManager(  529): addWindowToListInOrderLocked: win=Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter} Callers=com.android.server.wm.WindowManagerService.addWindow:2502 com.android.server.wm.Session.addToDisplay:167 android.view.ViewRootImpl.setView:532 android.view.WindowManagerGlobal.addView:272 
I/hack_camera(  529): resumed activity packageName:com.nextcloud_cookbook_flutter,prev resumed activity packageName:com.lenovo.olauncher
V/WindowManager(  529): Adding window Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter} at 4 of 10 (after Window{21c46e24 u0 com.android.settings/com.android.settings.deviceinfo.lenovousb.UsbPicker})
V/WindowManager(  529): Looking for focus: 4 = Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
V/WindowManager(  529): Relayout of Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}: focusMayChange=true
V/WindowManager(  529): Looking for focus: 5 = Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
V/WindowManager(  529): Looking for focus: 5 = Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
I/hack_camera(  529): hackForCameraGone Visible window packageName:com.nextcloud_cookbook_flutter,Gone window packageName:com.lenovo.olauncher
I/ActivityManager(  529): Process com.nextcloud_cookbook_flutter (pid 2284) has died
W/ActivityManager(  529): notify app switch quit packageName=com.nextcloud_cookbook_flutter
D/ActivityManager(  529): notifyAppSwitch resumed: false; pkg:com.nextcloud_cookbook_flutter
I/ActivityManager(  529): Start proc com.nextcloud_cookbook_flutter for activity com.nextcloud_cookbook_flutter/.MainActivity: pid=2671 uid=10096 gids={50096, 9997, 3003} abi=armeabi-v7a
V/WindowManager(  529): Looking for focus: 5 = Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
V/WindowManager(  529): Looking for focus: 5 = Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
I/ActivityManager(  529): Process com.nextcloud_cookbook_flutter (pid 2671) has died
W/ActivityManager(  529): notify app switch quit packageName=com.nextcloud_cookbook_flutter
D/ActivityManager(  529): notifyAppSwitch resumed: false; pkg:com.nextcloud_cookbook_flutter
I/ActivityManager(  529): Start proc com.nextcloud_cookbook_flutter for activity com.nextcloud_cookbook_flutter/.MainActivity: pid=2693 uid=10096 gids={50096, 9997, 3003} abi=armeabi-v7a
V/WindowManager(  529): Looking for focus: 5 = Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
V/WindowManager(  529): Looking for focus: 5 = Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
I/ActivityManager(  529): Process com.nextcloud_cookbook_flutter (pid 2693) has died
W/ActivityManager(  529): notify app switch quit packageName=com.nextcloud_cookbook_flutter
W/ActivityManager(  529): Force removing ActivityRecord{1ce63022 u0 com.nextcloud_cookbook_flutter/.MainActivity t217}: app died, no saved state
D/ActivityManager(  529): notifyAppSwitch resumed: false; pkg:com.nextcloud_cookbook_flutter
V/WindowManager(  529): Remove Window{3b977b9c u0 Starting com.nextcloud_cookbook_flutter} client=296f9f0f, surface=Surface(name=Starting com.nextcloud_cookbook_flutter) Callers=com.android.server.wm.AppWindowToken.removeAllWindows:262 com.android.server.wm.WindowManagerService.removeAppFromTaskLocked:4763 com.android.server.wm.WindowManagerService.removeAppToken:4820 com.android.server.am.ActivityStack.removeActivityFromHistoryLocked:3215 
V/WindowManager(  529): Removing focused app token:AppWindowToken{20be4870 token=Token{cf90ab3 ActivityRecord{1ce63022 u0 com.nextcloud_cookbook_flutter/.MainActivity t217}}}
D/ActivityManager(  529): startActivity intent packagename com.nextcloud_cookbook_flutter
V/ActivityManager(  529): send smart intent for new activity com.nextcloud_cookbook_flutter Where 1
V/MultiWinService(  529): startActivityMayWait >>> com.nextcloud_cookbook_flutter;com.nextcloud_cookbook_flutter.MainActivity
I/ActivityManager(  529): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nextcloud_cookbook_flutter/.MainActivity bnds=[626,969][859,1113] (has extras)} from uid 10021 on display 0
D/WindowManager(  529): addWindowToListInOrderLocked: win=Window{cdce69b u0 Starting com.nextcloud_cookbook_flutter} Callers=com.android.server.wm.WindowManagerService.addWindow:2502 com.android.server.wm.Session.addToDisplay:167 android.view.ViewRootImpl.setView:532 android.view.WindowManagerGlobal.addView:272 
V/WindowManager(  529): Adding window Window{cdce69b u0 Starting com.nextcloud_cookbook_flutter} at 8 of 15 (after Window{d999184 u0 org.fdroid.fdroid/org.fdroid.fdroid.views.AppDetailsActivity})
V/WindowManager(  529): Set focused app to: AppWindowToken{3f339a38 token=Token{30d4995 ActivityRecord{15ee754c u0 com.nextcloud_cookbook_flutter/.MainActivity t219}}} old focus=AppWindowToken{b59e5fe token=Token{159d8db9 ActivityRecord{d6a6380 u0 com.lenovo.olauncher/com.android.launcher3.Launcher t213}}} moveFocusNow=true
V/WindowManager(  529): findFocusedWindow: Reached focused app=AppWindowToken{3f339a38 token=Token{30d4995 ActivityRecord{15ee754c u0 com.nextcloud_cookbook_flutter/.MainActivity t219}}}
I/hack_camera(  529): resumed activity packageName:com.nextcloud_cookbook_flutter,prev resumed activity packageName:com.lenovo.olauncher
V/WindowManager(  529): findFocusedWindow: Reached focused app=AppWindowToken{3f339a38 token=Token{30d4995 ActivityRecord{15ee754c u0 com.nextcloud_cookbook_flutter/.MainActivity t219}}}
V/WindowManager(  529): Relayout of Window{cdce69b u0 Starting com.nextcloud_cookbook_flutter}: focusMayChange=true
I/ActivityManager(  529): Start proc com.nextcloud_cookbook_flutter for activity com.nextcloud_cookbook_flutter/.MainActivity: pid=2805 uid=10096 gids={50096, 9997, 3003} abi=armeabi-v7a
V/WindowManager(  529): Looking for focus: 9 = Window{cdce69b u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
V/WindowManager(  529): Looking for focus: 9 = Window{cdce69b u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
I/hack_camera(  529): hackForCameraGone Visible window packageName:com.nextcloud_cookbook_flutter,Gone window packageName:com.lenovo.olauncher
V/WindowManager(  529): Looking for focus: 9 = Window{cdce69b u0 Starting com.nextcloud_cookbook_flutter}, flags=25362712, canReceive=false
D/houdini ( 2805): [2823] Added shared library /data/app/com.nextcloud_cookbook_flutter-2/lib/arm/libflutter.so for ClassLoader by Native Bridge.
I/ActivityManager(  529): Process com.nextcloud_cookbook_flutter (pid 2805) has died
W/ActivityManager(  529): notify app switch quit packageName=com.nextcloud_cookbook_flutter
D/ActivityManager(  529): notifyAppSwitch resumed: false; pkg:com.nextcloud_cookbook_flutter
I/ActivityManager(  529): Start pr

@Leptopoda
Copy link
Collaborator

I don't see anything obvious but will have a deeper look.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feedback Need feedback otherwise the issue will be closed
Projects
None yet
Development

No branches or pull requests

2 participants