5

E/AndroidRuntime(4999): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.policy.impl.keyguard.SlidingTab" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

I just add a custom component in my layout file, but it gives me the log.

Erick Filho
  • 1,962
  • 3
  • 18
  • 31
littlecold
  • 51
  • 1
  • 2

2 Answers2

1

I've just answered something like it here: Why is my custom ButtonRenderer not working?

If you encounter it again this should solve it:

[Activity(Name = "somepackage.custombuttonrenderer")]
public class CustomButtonRenderer: ButtonRenderer
{ }
IvanF.
  • 513
  • 10
  • 18
-1

You can delete both the build directory of your project and the build directory of your module, then sync the project and run your module again. It worked for me.

Boiethios
  • 38,438
  • 19
  • 134
  • 183