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

activity.MediaAdd broken on Nexus 7 #11

Closed
daalja opened this issue Aug 19, 2014 · 1 comment
Closed

activity.MediaAdd broken on Nexus 7 #11

daalja opened this issue Aug 19, 2014 · 1 comment

Comments

@daalja
Copy link

daalja commented Aug 19, 2014

On Nexus 4 everything is fine, but on Nexus 7 I can't add a file. This happens (F-Droid-Version on Android 4.4.4 / SlimKat 7.4):

08-19 21:09:36.550 D/FDroid  (2041): Getting application details for de.ph1b.audiobook
08-19 21:09:38.111 D/FDroid  (2041): Downloading apk from https://f-droid.org/repo/de.ph1b.audiobook_5.apk
08-19 21:09:38.432 D/FDroid  (2041): Download finished: /storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/de.ph1b.audiobook_5.apk
08-19 21:09:38.492 I/ActivityManager(601): START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/de.ph1b.audiobook_5.apk typ=application/vnd.android.package-archive cmp=com.android.packageinstaller/.PackageInstallerActivity (has extras)} from pid 2041
08-19 21:09:42.245 I/ActivityManager(601): START u0 {dat=file:///storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/de.ph1b.audiobook_5.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from pid 2888
08-19 21:09:42.386 W/ActivityManager(601): No content provider found for permission revoke: file:///storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/de.ph1b.audiobook_5.apk
08-19 21:09:42.406 W/ActivityManager(601): No content provider found for permission revoke: file:///storage/emulated/0/Android/data/org.fdroid.fdroid/cache/apks/de.ph1b.audiobook_5.apk
08-19 21:09:42.936 I/PackageManager(601): Running dexopt on: de.ph1b.audiobook
08-19 21:09:43.286 I/ActivityManager(601): Force stopping de.ph1b.audiobook appid=10067 user=-1: update pkg
08-19 21:09:43.537 D/BackupManagerService(601): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:de.ph1b.audiobook flg=0x4000010 (has extras) }
08-19 21:09:43.757 D/FDroid  (2041): PackageReceiver received [action = 'android.intent.action.PACKAGE_ADDED', data = 'package:de.ph1b.audiobook']
08-19 21:09:43.777 D/FDroid  (2041): Inserting installed app info for 'de.ph1b.audiobook' (v5)
08-19 21:09:59.983 I/Timeline(2888): Timeline: Activity_launch_request id:de.ph1b.audiobook time:147897
08-19 21:09:59.983 I/ActivityManager(601): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=de.ph1b.audiobook cmp=de.ph1b.audiobook/.activity.MediaView} from pid 2888
08-19 21:10:00.023 I/ActivityManager(601): Start proc de.ph1b.audiobook for activity de.ph1b.audiobook/.activity.MediaView: pid=3279 uid=10067 gids={50067, 1028, 1023, 1015, 3003}
08-19 21:10:00.573 I/ActivityManager(601): Displayed de.ph1b.audiobook/.activity.MediaView: +567ms
08-19 21:10:00.683 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{424e7300 u0 de.ph1b.audiobook/.activity.MediaView t4} time:148591
08-19 21:10:03.416 I/Timeline(3279): Timeline: Activity_launch_request id:de.ph1b.audiobook time:151321
08-19 21:10:03.416 I/ActivityManager(601): START u0 {cmp=de.ph1b.audiobook/.activity.Preferences} from pid 3279
08-19 21:10:03.576 I/ActivityManager(601): Displayed de.ph1b.audiobook/.activity.Preferences: +157ms
08-19 21:10:03.846 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{42557820 u0 de.ph1b.audiobook/.activity.Preferences t4} time:151755
08-19 21:10:10.703 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{424e7300 u0 de.ph1b.audiobook/.activity.MediaView t4} time:158613
08-19 21:10:11.904 I/Timeline(3279): Timeline: Activity_launch_request id:de.ph1b.audiobook time:159813
08-19 21:10:11.904 I/ActivityManager(601): START u0 {cmp=de.ph1b.audiobook/.activity.MediaAdd} from pid 3279
08-19 21:10:12.195 I/ActivityManager(601): Displayed de.ph1b.audiobook/.activity.MediaAdd: +289ms
08-19 21:10:12.465 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{4271d560 u0 de.ph1b.audiobook/.activity.MediaAdd t4} time:160374
08-19 21:10:23.886 I/Timeline(3279): Timeline: Activity_launch_request id:de.ph1b.audiobook time:171799
08-19 21:10:23.896 I/ActivityManager(601): START u0 {cmp=de.ph1b.audiobook/.activity.BookAdd (has extras)} from pid 3279
08-19 21:10:23.946 E/AndroidRuntime(3279): Process: de.ph1b.audiobook, PID: 3279
08-19 21:10:23.946 E/AndroidRuntime(3279): java.lang.RuntimeException: Unable to start activity ComponentInfo{de.ph1b.audiobook/de.ph1b.audiobook.activity.BookAdd}: java.lang.NullPointerException
08-19 21:10:23.946 E/AndroidRuntime(3279):  at de.ph1b.audiobook.activity.BookAdd.k(Unknown Source)
08-19 21:10:23.946 E/AndroidRuntime(3279):  at de.ph1b.audiobook.activity.BookAdd.onCreate(Unknown Source)
08-19 21:10:23.956 W/ActivityManager(601):   Force finishing activity de.ph1b.audiobook/.activity.BookAdd
08-19 21:10:23.956 W/ActivityManager(601):   Force finishing activity de.ph1b.audiobook/.activity.MediaAdd
08-19 21:10:24.457 W/ActivityManager(601): Activity pause timeout for ActivityRecord{42720b30 u0 de.ph1b.audiobook/.activity.BookAdd t4 f}
08-19 21:10:26.198 I/ActivityManager(601): Process de.ph1b.audiobook (pid 3279) has died.
08-19 21:10:26.198 I/WindowState(601): WIN DEATH: Window{436df860 u0 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaView}
08-19 21:10:26.198 I/WindowState(601): WIN DEATH: Window{436e40b8 u0 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaAdd}
08-19 21:10:26.218 I/ActivityManager(601): Start proc de.ph1b.audiobook for activity de.ph1b.audiobook/.activity.MediaView: pid=3341 uid=10067 gids={50067, 1028, 1023, 1015, 3003}
08-19 21:10:26.509 I/ActivityManager(601): Displayed de.ph1b.audiobook/.activity.MediaView: +305ms (total +2s608ms)
08-19 21:10:26.579 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{424e7300 u0 de.ph1b.audiobook/.activity.MediaView t4} time:174482
08-19 21:12:58.487 I/Timeline(1496): Timeline: Activity_launch_request id:de.ph1b.audiobook time:326390
08-19 21:12:58.487 I/ActivityManager(601): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.ph1b.audiobook/.activity.MediaView bnds=[600,960][600,960]} from pid 1496
08-19 21:12:58.627 I/ActivityManager(601): Displayed de.ph1b.audiobook/.activity.MediaView: +131ms
08-19 21:12:59.037 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{424d1c30 u0 de.ph1b.audiobook/.activity.MediaView t4} time:326947
08-19 21:13:00.008 I/Timeline(3341): Timeline: Activity_launch_request id:de.ph1b.audiobook time:327917
08-19 21:13:00.008 I/ActivityManager(601): START u0 {cmp=de.ph1b.audiobook/.activity.MediaAdd} from pid 3341
08-19 21:13:00.269 I/ActivityManager(601): Displayed de.ph1b.audiobook/.activity.MediaAdd: +246ms
08-19 21:13:00.529 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{42557820 u0 de.ph1b.audiobook/.activity.MediaAdd t4} time:328437
08-19 21:13:03.812 I/Timeline(3341): Timeline: Activity_launch_request id:de.ph1b.audiobook time:331723
08-19 21:13:03.812 I/ActivityManager(601): START u0 {cmp=de.ph1b.audiobook/.activity.BookAdd (has extras)} from pid 3341
08-19 21:13:03.872 E/AndroidRuntime(3341): Process: de.ph1b.audiobook, PID: 3341
08-19 21:13:03.872 E/AndroidRuntime(3341): java.lang.RuntimeException: Unable to start activity ComponentInfo{de.ph1b.audiobook/de.ph1b.audiobook.activity.BookAdd}: java.lang.NullPointerException
08-19 21:13:03.872 E/AndroidRuntime(3341):  at de.ph1b.audiobook.activity.BookAdd.k(Unknown Source)
08-19 21:13:03.872 E/AndroidRuntime(3341):  at de.ph1b.audiobook.activity.BookAdd.onCreate(Unknown Source)
08-19 21:13:03.882 W/ActivityManager(601):   Force finishing activity de.ph1b.audiobook/.activity.BookAdd
08-19 21:13:03.882 W/ActivityManager(601):   Force finishing activity de.ph1b.audiobook/.activity.MediaAdd
08-19 21:13:04.383 W/ActivityManager(601): Activity pause timeout for ActivityRecord{4269c6b0 u0 de.ph1b.audiobook/.activity.BookAdd t4 f}
08-19 21:13:09.367 I/ActivityManager(601): Process de.ph1b.audiobook (pid 3341) has died.
08-19 21:13:09.367 I/WindowState(601): WIN DEATH: Window{436e4a60 u0 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaView}
08-19 21:13:09.377 W/InputDispatcher(601): channel '436e7a90 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaView (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
08-19 21:13:09.377 E/InputDispatcher(601): channel '436e7a90 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaView (server)' ~ Channel is unrecoverably broken and will be disposed!
08-19 21:13:09.377 W/InputDispatcher(601): Attempted to unregister already unregistered input channel '436e7a90 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaView (server)'
08-19 21:13:09.377 I/WindowState(601): WIN DEATH: Window{436e8120 u0 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaAdd}
08-19 21:13:09.377 I/WindowState(601): WIN DEATH: Window{436e7a90 u0 de.ph1b.audiobook/de.ph1b.audiobook.activity.MediaView}
08-19 21:13:09.407 I/ActivityManager(601): Start proc de.ph1b.audiobook for activity de.ph1b.audiobook/.activity.MediaView: pid=3990 uid=10067 gids={50067, 1028, 1023, 1015, 3003}
08-19 21:13:09.698 I/ActivityManager(601): Displayed de.ph1b.audiobook/.activity.MediaView: +310ms (total +5s870ms)
08-19 21:13:09.748 I/Timeline(601): Timeline: Activity_windows_visible id: ActivityRecord{424d1c30 u0 de.ph1b.audiobook/.activity.MediaView t4} time:337651

thx for the nice app!

@PaulWoitaschek
Copy link
Owner

Could you try the the latest development version and tell me if the problem still exists? (and reopen if so)
https://github.com/Ph1b/MaterialAudiobookPlayer/blob/development/apk/1.2.3.pre-1.apk

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

2 participants