Come impedire che i due seguenti avvisi generino un errore che interrompe il processo di compilazione?il valore di origine 1.5 è obsoleto e verrà rimosso in una versione futura
-compile:
[javac] Compiling 77 source files to /Users/andev/Workspace/android/products/myproject/1.0/Facebook/bin/classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] error: warnings found and -Werror specified
[javac] 1 error
[javac] 3 warnings
Stai utilizzando minSdkVersion o targetSdkVersion = 3 nel tuo manifest? –
no, il minSdkVersion più piccolo era 4. L'ho raggiunto a 8, ma l'avviso continua a mostrare. –
Immagino che qualcosa sia rimasto nel tuo file 'project.properties' (come:' target = android-3'). È possibile modificarlo manualmente (aprirlo nell'editor di testo) –