Appcelerator Titanium 应用程序无法使用 Streethawk 推送模块进行编译

Appcelerator Titanium app can't compile with Streethawk push module

我正在创建应该使用 Streethawk 推送模块的应用程序,但是当我尝试编译它时,它在 运行 dexer 上冻结。

当我尝试使用模块编译应用程序时:com.streethawk.shanalytics 它编译完美,但如果我添加 com.streethawk.shpush 它将冻结在:

Running dexer: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java "-Xmx1024M" "-XX:-UseGCOverheadLimit" 包含一长串模块。

如果我检查 Activity 监视器,我会看到它使用了 100% 的 CPU 功率,所以它似乎在这个过程中进入了某种循环。

大约半小时后它抛出一个错误:

[ERROR] :  Failed to run dexer:
[ERROR] :  
[ERROR] :  UNEXPECTED TOP-LEVEL ERROR:
[ERROR] :  java.lang.OutOfMemoryError: Java heap space
[ERROR] :   at java.util.Arrays.copyOfRange(Arrays.java:2694)
[ERROR] :   at java.lang.String.<init>(String.java:203)
[ERROR] :   at com.android.dx.rop.cst.CstString.utf8BytesToString(CstString.java:158)
[ERROR] :   at com.android.dx.rop.cst.CstString.<init>(CstString.java:200)
[ERROR] :   at com.android.dx.cf.cst.ConstantPoolParser.parseUtf8(ConstantPoolParser.java:371)
[ERROR] :   at com.android.dx.cf.cst.ConstantPoolParser.parse0(ConstantPoolParser.java:262)
[ERROR] :   at com.android.dx.cf.cst.ConstantPoolParser.parse(ConstantPoolParser.java:150)
[ERROR] :   at com.android.dx.cf.cst.ConstantPoolParser.parseIfNecessary(ConstantPoolParser.java:124)
[ERROR] :   at com.android.dx.cf.cst.ConstantPoolParser.getPool(ConstantPoolParser.java:115)
[ERROR] :   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:482)
[ERROR] :   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
[ERROR] :   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
[ERROR] :   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
[ERROR] :   at com.android.dx.command.dexer.Main.parseClass(Main.java:764)
[ERROR] :   at com.android.dx.command.dexer.Main.access00(Main.java:85)
[ERROR] :   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1684)
[ERROR] :   at com.android.dx.command.dexer.Main.processClass(Main.java:749)
[ERROR] :   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:718)
[ERROR] :   at com.android.dx.command.dexer.Main.access00(Main.java:85)
[ERROR] :   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1645)
[ERROR] :   at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
[ERROR] :   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
[ERROR] :   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
[ERROR] :   at com.android.dx.command.dexer.Main.processOne(Main.java:672)
[ERROR] :   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:574)
[ERROR] :   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
[ERROR] :   at com.android.dx.command.dexer.Main.run(Main.java:277)
[ERROR] :   at com.android.dx.command.dexer.Main.main(Main.java:245)
[ERROR] :   at com.android.dx.command.Main.main(Main.java:106)

欢迎任何帮助。提前致谢。

不幸的是,这是街鹰的错。我在那里的支持板上创建了票证,两周后我得到了答案:

"I am sorry to inform that we don't have enough resources at the moment to attend and resolve the titanium issue. My sincere apologies for the inconvenience caused."

因此,如果您打算在 Android 上使用他们的模块,那么现在是不可能的。