source value 1.5 is obsolete and will be removed in a future release

前端 未结 3 635
南方客
南方客 2021-02-12 11:39

How do I prevent the two warnings below from generating an error that stops the build process ?

-compile:
    [javac] Compiling 77 source files to /Users/andev/W         


        
3条回答
  •  广开言路
    2021-02-12 12:07

    To be able to build, I created a file ant.properties in the facebook project (first project that is compiled) with the contents :

    java.compilerargs=-Xlint:-options
    

提交回复
热议问题