Android Min SDK Version


#1

Any Min Android SDK version less than 19 throws this error when I compile with ANT. Any deprecation things going on with the SDK versions and JUCE?

 

-compile:

    [javac] Compiling 3 source files to /Users/carthach/Desktop/eear-Mobile/Builds/Android/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] /Users/carthach/Desktop/eear-Mobile/Builds/Android/src/com/yourcompany/eearmobile/eearMobile.java:1007: error: cannot find symbol

    [javac]     public static final String getDocumentsFolder()  { return getFileLocation (Environment.DIRECTORY_DOCUMENTS); }

    [javac]                                                                                           ^

    [javac]   symbol:   variable DIRECTORY_DOCUMENTS

    [javac]   location: class Environment

    [javac] Note: /Users/carthach/Desktop/eear-Mobile/Builds/Android/src/com/yourcompany/eearmobile/eearMobile.java uses or overrides a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

    [javac] Note: /Users/carthach/Desktop/eear-Mobile/Builds/Android/src/com/yourcompany/eearmobile/eearMobile.java uses unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.

    [javac] 1 error

    [javac] 3 warnings


#2

I just fixed this bug. Please pull the latest tip from github.


#3

Nice one!