                         }
                         testArray = true
                         testingArray = list
+                        testAndroid = false
                     }
                     
                     if (testFile) {
                         let file = value as! String
-                        if (type == .Java) {
+                        if ((type == .Java) && (testAndroid == true)) {
                             if (file.isAndroidCompatible() == false) {
                                 print("Error: \(file) must contain only lowercase a-z, 0-9, or underscore")
                                 exit(-1)

            exit(0)
        }
        
        let validateInputs = getOptions(args, option: "-validate")
        if (validateInputs != nil) {
            sourceAssetFolder = getOption(args, option: "-input_assets")
            if (sourceAssetFolder != nil) {
                sourceAssetFolder = NSString(string: sourceAssetFolder!).stringByExpandingTildeInPath

                validate(validateInputs!, type: .Swift)
                validate(validateInputs!, type: .Java)
            }
            else {
                print("Error: missing source asset folder")

                    if (testArray) {
                        let list = testingArray as! [String]
                        for file in list {
                            if ((type == .Java) && (testAndroid == true)) {
                                if (file.isAndroidCompatible() == false) {
                                    print("Error: \(file) must contain only lowercase a-z, 0-9, or underscore")
                                    exit(-1)
