                     if (testArray) {
                         let list = testingArray as! [String]
                         for file in list {
-                            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)

                for (key, value) in data! {
                    var testFile = false
                    var testArray = false
                    var testingArray = value
                    if (key == keyCopied) {
                        testArray = true
                    }
                    else if (key == keyAppIcon) {
                        testFile = true

            exit(0)
        }
        
        var validateInputs:[String]? = nil
        var validateLang:LangType = .Unset
        validateInputs = getOptions(args, option: "-validate")
        if (validateInputs == nil) {
            validateInputs = getOptions(args, option: "-validate_ios")
            validateLang = .Swift
        }
        if (validateInputs == nil) {
            validateInputs = getOptions(args, option: "-validate_android")
            validateLang = .Java
        }
        if (validateInputs != nil) {
            sourceAssetFolder = getOption(args, option: "-input_assets")
            if (sourceAssetFolder != nil) {
                sourceAssetFolder = NSString(string: sourceAssetFolder!).stringByExpandingTildeInPath

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