Friday, 31 May 2019

AndroidStudio 3.5 - ClassNotFoundException - View referenced from other module

The project is a multi-module project that contains a mediaplayer module with a custom view MediaCustomView inside. The module app depends on mediaplayer.

Context: In the app module...

Using AS 3.5 with android-gradle-plugin:3.5.0-beta02 makes the app crash at runtime when the LayoutInflater tries to inflate an xml using MediaCustomView

Using AS 3.5 with android-gradle-plugin:3.4.1 works just fine.

I remember reading about this somewhere but I can't find it anymore. Anybody knows what's happening and how I can fix it and still use android-gradle-plugin:3.5.0-beta02 ?



from AndroidStudio 3.5 - ClassNotFoundException - View referenced from other module

No comments:

Post a Comment