【发布时间】:2015-11-26 10:32:24
【问题描述】:
在尝试使用命令提示符 ant 脚本构建 android 应用程序时。
ant release
得到以下错误..我确信这与使用旧的不推荐使用的 api 有关。
facebook\internal\Utility.java:538: error: incompatible types: Object cannot
be converted to long
[javac] bundle.putLong(key, (long) value);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
[javac] 3 warnings</i>
【问题讨论】:
标签: java android ant build release