0

我从这里下载了一个库

当我尝试使用它时,我遇到了异常

09-24 11:24:23.428: E/ActivityThread(31526): Activity com.android.internal.app.ChooserActivity has leaked IntentReceiver com.android.internal.app.ResolverActivity$1@41fb9d48 that was originally registered here. Are you missing a call to unregisterReceiver()?
09-24 11:24:23.428: E/ActivityThread(31526): android.app.IntentReceiverLeaked: Activity com.android.internal.app.ChooserActivity has leaked IntentReceiver com.android.internal.app.ResolverActivity$1@41fb9d48 that was originally registered here. Are you missing a call to unregisterReceiver()?
........
09-24 11:24:25.278: E/AndroidRuntime(31526): java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.digitalclick.saler/ru.digitalclick.saler.utils.crop.CropImage}: java.lang.ClassCastException: android.widget.ImageView cannot be cast to ru.digitalclick.saler.utils.crop.CropImageView

我做错了什么?

任何帮助,请

4

1 回答 1

2

我认为您正在尝试ImageView输入CropImageView,因此会发生此错误。

使用CropImageView而不是ImageView.

于 2012-09-24T07:35:39.333 回答