redchicken
redchicken

Reputation: 319

Could not find class 'android.graphics.drawable.RippleDrawable', (API 17, 4.2.2)

When I built it on the same device last night and this morning, I had no problems at all but suddenly there was a problem.

Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering

Besides, I get a phrase like that.
When I look at other people's posts, I can see why.
* Update firmware
* RippleDrawable should receive Drawable instead.
And etc. If there is any other reason, please let me know.

But I don't know how to solve it.

Solve!!!
The fragment is static.
This was fixed in the xml file using instead of .

Upvotes: 0

Views: 159

Answers (1)

user5956451
user5956451

Reputation:

android.graphics.drawable.RippleDrawable was added with api level 21, so it is clear why ypu get that error on api level 17. What is not clear from your post: do you use that class in your code? Are you calling AppCompatImageHelper.hasOverlappingRendering? In both cases, please show us your code.

Upvotes: 1

Related Questions