Suggestion for setting ANDROID_SQL_HOME in Rakefile
12 views
Skip to first unread message
deegchr...@gmail.com
unread,
Mar 23, 2013, 10:56:22 PM3/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqld...@googlegroups.com
Hello,
I've been pulling/building SqlDroid on my Linux PC. I don't normally have the Android SDK in my path so the "which dx" command in the Rakefile fails. I've made the following change to the Rakefile to run the command only if the environment variables aren't already set:
> I've been pulling/building SqlDroid on my Linux PC. I don't normally have the Android SDK in my path so the "which dx" command in the Rakefile fails. I've made the following change to the Rakefile to run the command only if the environment variables aren't already set:
>
> ANDROID_SDK_HOME = ENV['ANDROID_SDK_HOME'] || ENV['ANDROID_HOME'] || File.dirname(File.dirname(`which dx`))