java - Android Studio ORMLite Configuration File - Could Not Find Raw Directory -
following notes previous question: android studio run configuration ormlite config generation
i able configuration run 1 class, still failing with
could not find raw directory
this source
package com.ilopez.android.machinesounds; import com.j256.ormlite.android.apptools.ormliteconfigutil; import java.io.file; import java.io.ioexception; import java.sql.sqlexception; /** * created user on 7/25/13. */ public class databaseconfigutil extends ormliteconfigutil { private static final class<?>[] classes = new class[]{ recordedsound.class, }; public static void main(string[] args) throws ioexception, sqlexception { writeconfigfile(new file("g:\\machinesoundsproject\\machinesounds\\src\\main\\res\\raw\\ormlite_config.txt"), classes ); } }
my platform windows, , cant figure out why keeps failing "could not find raw directory".
this command android studio runs:
"c:\program files\java\jdk1.6.0_37\bin\java" -didea.launcher.port=7544 "-didea.launcher.bin.path=c:\program files (x86)\android\android-studio\bin" -dfile.encoding=utf-8 -classpath "c:\program files (x86)\android\android-studio\sdk\platforms\android-17\android.jar;c:\program files (x86)\android\android-studio\sdk\platforms\android-17\data\res;c:\program files (x86)\android\android-studio\sdk\tools\support\annotations.jar;c:\local\dropbox\git\machinesoundsproject\machinesounds\build\classes\debug;c:\program files (x86)\android\android-studio\sdk\extras\android\m2repository\com\android\support\support-v4\13.0.0\support-v4-13.0.0.jar;c:\local\dropbox\git\machinesoundsproject\machinesounds\libs\ormlite-android-4.45.jar;c:\local\dropbox\git\machinesoundsproject\machinesounds\libs\ormlite-core-4.45.jar;c:\local\dropbox\git\machinesoundsproject\machinesounds\libs\ormlite-jdbc-4.45.jar;c:\program files (x86)\android\android-studio\lib\idea_rt.jar" com.intellij.rt.execution.application.appmain com.ilopez.android.machinesounds.databaseconfigutil
i'm using version 4.45 of ormlite
if try create in android studio trying find folder in top directory (where .idea e.g.) if create directory res , within raw, util able create file.
Comments
Post a Comment