[TIMOB-24666] submodule makes trouble with Bootstrap.class
| 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-01T20:11:50.000+0000 | 
| Updated | 2018-02-28T19:55:41.000+0000 | 
Description
	Have a problem with building of submodules in Android. I have successful added 2 submodules and if I add a third one, then at build time of app comes: 
cannot find symbol runtime.addExternalModule("de.appwerft.a2dp", de.appwerft.a2dp.A2dpBootstrap.class);
This happens with a skeleton module too. The third module has same structure as the other (working) ones.
@Kroll.module(parentModule = A2dpModule.class)
public class MonitorPairedDevicesModule extends KrollModule {
}
[ERROR] :  Failed to compile Java source files:
[ERROR] :  
[ERROR] :  /Users/fuerst/Documents/APPC_WORKSPACE/DLRMediathek/build/android/gen/de/appwerft/dlrmediathek/DlrMediathekApplication.java:99: error: cannot find symbol
[ERROR] :  		runtime.addExternalModule("de.appwerft.a2dp", de.appwerft.a2dp.A2dpBootstrap.class);
[ERROR] :  		                                                              ^
[ERROR] :    symbol:   class A2dpBootstrap
[ERROR] :    location: package de.appwerft.a2dp
[ERROR] :  Note: /Users/fuerst/Documents/APPC_WORKSPACE/DLRMediathek/build/android/gen/de/appwerft/dlrmediathek/AssetCryptImpl.java uses unchecked or unsafe operations.
[ERROR] :  Note: Recompile with -Xlint:unchecked for details.
[ERROR] :  1 error
Hello, Please share a sample reproducible code for us to test the issue. Also, what happens with latest SDK 6.0.3.GA?
OK, I will build a minimalistic example. 6.0* not yet tested.
Hello, Wear you able to generate the sample code? please send us the code. Thanks.
I will try. This happens in last two projects: I add successful some submodules and sudently if I add ones more, then the error appears. Then I reduce the sub module to smallest one (only the empty class) and the error keeps.
Hello, We need the sample code/project for testing.