linux编译

编译的时候出现类型转换错误,window环境下没有问题,但是linux编译出现以下错误,
错误log如下:
-compile:
    [javac] Compiling 948 source files to ../trunk/bin/classes
    [javac] ../Fragment.java:495: error: inconvertible types
    [javac] 						int msgId = (int) msg.obj;
    [javac] 						                     ^
    [javac]   required: int
    [javac]   found:    Object
    [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] 1 error


有人知道什么原因?

你可能感兴趣的:(android,linux)