Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24666] submodule makes trouble with Bootstrap.class

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRainer Schleevoigt
AssigneeUnknown
Created2017-05-01T20:11:50.000+0000
Updated2018-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 {
}
Here full error log:
[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

Comments

  1. Sharif AbuDarda 2017-05-02

    Hello, Please share a sample reproducible code for us to test the issue. Also, what happens with latest SDK 6.0.3.GA?
  2. Rainer Schleevoigt 2017-05-02

    OK, I will build a minimalistic example. 6.0* not yet tested.
  3. Sharif AbuDarda 2017-05-05

    Hello, Wear you able to generate the sample code? please send us the code. Thanks.
  4. Rainer Schleevoigt 2017-05-05

    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.
  5. Sharif AbuDarda 2017-05-08

    Hello, We need the sample code/project for testing.

JSON Source