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

Crash when trying on Android #21

Open
CalvinGonsalves opened this issue May 26, 2020 · 0 comments
Open

Crash when trying on Android #21

CalvinGonsalves opened this issue May 26, 2020 · 0 comments

Comments

@CalvinGonsalves
Copy link

This is the log when I click the button to access the image picker

I/flutter (22433): State is AppLifecycleState.inactive W/ActivityThread(22433): handleWindowVisibility: no activity for token android.os.BinderProxy@d76c6d1 E/ca.cmic.field(22433): Invalid ID 0x00000000. I/ca.cmic.field(22433): NativeAlloc concurrent copying GC freed 8144(641KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 2992KB/5985KB, paused 1.776ms total 114.683ms W/ca.cmic.field(22433): Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed) W/ca.cmic.field(22433): Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed) E/RecyclerView(22433): No adapter attached; skipping layout D/EGL_emulation(22433): eglMakeCurrent: 0xeb87ebc0: ver 3 0 (tinfo 0xeb8893d0) W/Glide (22433): Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored D/AndroidRuntime(22433): Shutting down VM E/AndroidRuntime(22433): FATAL EXCEPTION: main E/AndroidRuntime(22433): Process: ca.cmic.field, PID: 22433 E/AndroidRuntime(22433): java.lang.NoSuchMethodError: No virtual method placeholder(I)Lcom/bumptech/glide/request/RequestOptions; in class Lcom/bumptech/glide/request/RequestOptions; or its super classes (declaration of 'com.bumptech.glide.request.RequestOptions' appears in /data/app/ca.cmic.field-HiA11CK-urFBBs2Mk3xPMA==/base.apk) E/AndroidRuntime(22433): at com.imagepicker.features.imageloader.DefaultImageLoader.loadImage(DefaultImageLoader.java:17) E/AndroidRuntime(22433): at com.imagepicker.adapter.ImagePickerAdapter.onBindViewHolder(ImagePickerAdapter.java:55) E/AndroidRuntime(22433): at com.imagepicker.adapter.ImagePickerAdapter.onBindViewHolder(ImagePickerAdapter.java:24) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7065) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7107) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6012) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6279) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6118) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6114) E/AndroidRuntime(22433): at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2303) E/AndroidRuntime(22433): at androidx.recyclerview.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:561) E/AndroidRuntime(22433): at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587) E/AndroidRuntime(22433): at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665) E/AndroidRuntime(22433): at androidx.recyclerview.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4134) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:3851) E/AndroidRuntime(22433): at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4404) E/AndroidRuntime(22433): at android.view.View.layout(View.java:21912) E/AndroidRuntime(22433): at android.view.ViewGroup.layout(ViewGroup.java:6260) E/AndroidRuntime(22433): at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103) E/AndroidRuntime(22433): at android.view.View.layout(View.java:21912) E/AndroidRuntime(22433): at android.view.ViewGroup.layout(ViewGroup.java:6260) E/AndroidRuntime(22433): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) E/AndroidRuntime(22433): at android.widget.FrameLayout.onLayout(FrameLayout.java:270) E/AndroidRuntime(22433): at android.view.View.layout(View.java:21912) E/AndroidRuntime(22433): at android.view.ViewGroup.layout(ViewGroup.java:6260) E/AndroidRuntime(22433): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) E/AndroidRuntime(22433): at android.widget.FrameLayout.onLayout(FrameLayout.java:270) E/AndroidRuntime(22433): at android.view.View.layout(View.java:21912) E/AndroidRuntime(22433): at android.view.ViewGroup.layout(ViewGroup.java:6260) E/AndroidRuntime(22433): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) E/AndroidRuntime(22433): at android.widget.FrameLayout.onLayout(FrameLayout.java:270) E/AndroidRuntime(22433): at android.view.View.layout(View.java:21912) E/AndroidRuntime(22433): at android.view.ViewGroup.layout(ViewGroup.java:6260) E/AndroidRuntime(22433): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829) E/AndroidRuntime(22433): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673) E/AndroidRuntime(22433): at android.widget.LinearLayout.onLayout(LinearLayout.java:1582) E/AndroidRuntime(22433): at android.view.View.layout(View.java:21912) E/AndroidRuntime(22433): at android.view.ViewGroup.layout(ViewGroup.java:6260) E/AndroidRuntime(22433): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) E/AndroidRuntime(22433): at android.widget.FrameLayout.onLayout(FrameLayout.java:270) E/AndroidRuntime(22433): at com.android.internal.policy.DecorView.onLayout(DecorView.java:779) E/AndroidRuntime(22433): at android.view.View.layout(View.java:21912) E/AndroidRuntime(22433): at android.view.ViewGroup.layout(ViewGroup.java:6260) E/AndroidRuntime(22433): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3080) E/AndroidRuntime(22433): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2590) E/AndroidRuntime(22433): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1721) E/AndroidRuntime(22433): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7598) E/AndroidRuntime(22433): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966) E/AndroidRuntime(22433): at android.view.Choreographer.doCallbacks(Choreographer.java:790) E/AndroidRuntime(22433): at android.view.Choreographer.doFrame(Choreographer.java:725) E/AndroidRuntime(22433): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951) E/AndroidRuntime(22433): at android.os.Handler.handleCallback(Handler.java:883) E/AndroidRuntime(22433): at android.os.Handler.dispatchMessage(Handler.java:100) E/AndroidRuntime(22433): at android.os.Looper.loop(Looper.java:214) E/AndroidRuntime(22433): at android.app.ActivityThread.main(ActivityThread.java:7356) E/AndroidRuntime(22433): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(22433): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) E/AndroidRuntime(22433): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) I/Process (22433): Sending signal. PID: 22433 SIG: 9 Lost connection to device.

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