Jens,
can you please check which version of NDK you are actually using? I see a 1.21 and 1.22 beginning referenced here.
Also, please remove:
xdc.loadPackage("ti.bios.tconf"); var SEM = xdc.useModule("ti.bios.SEM"); var CLK = xdc.useModule("ti.bios.CLK"); var TSK = xdc.useModule("ti.bios.TSK"); var LOG = xdc.useModule("ti.bios.LOG"); var PRD = xdc.useModule("ti.bios.PRD"); var QUE = xdc.useModule("ti.bios.QUE"); var STS = xdc.useModule("ti.bios.STS"); var MBX = xdc.useModule("ti.bios.MBX"); var SWI = xdc.useModule("ti.bios.SWI"); var MEM = xdc.useModule("ti.bios.MEM");from your app.cfg. These are DSP/BIOS API wrappers for SYS/BIOS. As of NDK 2.22 no longer supports DSP/BIOS and the DSP/BIOS APIs should not be used anymore.