[MOD-2336] Registration of module class in manifest
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rainer Schleevoigt |
Assignee | Unknown |
Created | 2017-05-04T16:13:51.000+0000 |
Updated | 2018-03-06T18:52:22.000+0000 |
Description
Implementation of GoogleCast as module needs to use a special class for configuring castcontext.
https://developers.google.com/android/reference/com/google/android/gms/cast/framework/CastContext
After building the module I cannot register the class in manifest, because the class is not part of build folder.
I found the class in
MODULE/android/build/classes/ti.chromecast/CastOptionsProvider.class
, but after building the app a cannot find the class in build folder and at runtimes comes: Caused by: java.lang.ClassNotFoundException: Didn't find class "de.appwerft.dlrmediathek.CastOptionsProvider"
In manifest:
xml
<meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME" android:value="de.appwerft.dlrmediathek.CastOptionsProvider"/>
</application>
Any workarounds/solutions?
Solved, the right syntax is BUNDLEID.MODULEID.CLASSNAME
Solved