简体   繁体   中英

No Activity found to handle Intent, Android

I am developing a project on Android that deals with images either from the camera or from the sd-card. I had this working fine until earlier I was fiddling with the code and broke it. It was too late to undo and I can't seem to find the solution.

After the image is selected and processed, a list should be returned but now I get an Activity not Found exception, here is a picture.

If anybody has any idea whats going on I'd appreciate it!

EDIT

Just got it, was a silly mistake, I had

Intent intent = new Intent(Results)

Instead of

Intent intent = new Intent(this, Results.class)

It was a silly mistake, I had

Intent intent = new Intent(Results)

Instead of

Intent intent = new Intent(this, Results.class)

尝试在调用Activity中添加“”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM