diff --git a/src/com/activeandroid/ModelInfo.java b/src/com/activeandroid/ModelInfo.java index 9ace89bff..09e79117c 100644 --- a/src/com/activeandroid/ModelInfo.java +++ b/src/com/activeandroid/ModelInfo.java @@ -173,7 +173,7 @@ private void scanForModelClasses(File path, String packageName, ClassLoader clas return; } - className = className.replace("/", "."); + className = className.replace(System.getProperty("file.separator"), "."); int packageNameIndex = className.lastIndexOf(packageName); if (packageNameIndex < 0) {