{"action":"created","issue":{"url":"https://api.github.com/repos/Rajawali/RajawaliVuforia/issues/47","labels_url":"https://api.github.com/repos/Rajawali/RajawaliVuforia/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/Rajawali/RajawaliVuforia/issues/47/comments","events_url":"https://api.github.com/repos/Rajawali/RajawaliVuforia/issues/47/events","html_url":"https://github.com/Rajawali/RajawaliVuforia/issues/47","id":71209576,"number":47,"title":"How to Build the project in Android Studio?","user":{"login":"nileshlg2003","id":4803667,"avatar_url":"https://avatars.githubusercontent.com/u/4803667?v=3","gravatar_id":"","url":"https://api.github.com/users/nileshlg2003","html_url":"https://github.com/nileshlg2003","followers_url":"https://api.github.com/users/nileshlg2003/followers","following_url":"https://api.github.com/users/nileshlg2003/following{/other_user}","gists_url":"https://api.github.com/users/nileshlg2003/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshlg2003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshlg2003/subscriptions","organizations_url":"https://api.github.com/users/nileshlg2003/orgs","repos_url":"https://api.github.com/users/nileshlg2003/repos","events_url":"https://api.github.com/users/nileshlg2003/events{/privacy}","received_events_url":"https://api.github.com/users/nileshlg2003/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-27T07:59:00Z","updated_at":"2015-06-16T09:18:43Z","closed_at":"2015-05-29T10:31:06Z","body":"Recently I moved to Android studio from Eclipse So am not good with it. Can some one please guide me on how to build Rajawali vuforia project on Android studio?\r\nHere's what I tried till now,\r\n1) Cloned the project\r\n2) run gradle.bat with \"clean assembleRelease uploadArchives\" from command prompt.\r\n3) I get the following error \r\n' FAILURE: Build failed with an exception.\r\n\r\nWhat went wrong:\r\nA problem occurred configuring project ':rajawalivuforia'.\r\n> SDK location not found. Define location with sdk.dir in the local.properties f\r\nile or with an ANDROID_HOME environment variable.\r\n'\r\n\r\n4) I checked the android sdk path in sdk.dir which is correct sdk.dir=C\\:\\\\Users\\\\Nilesh\\\\AppData\\\\Local\\\\Android\\\\sdk\r\n\r\nI don't know what to do now. Shall I import the project directly in to Android studio as gradle project? but in that case it shows error gradle version is not supported\r\n"},"comment":{"url":"https://api.github.com/repos/Rajawali/RajawaliVuforia/issues/comments/112359462","html_url":"https://github.com/Rajawali/RajawaliVuforia/issues/47#issuecomment-112359462","issue_url":"https://api.github.com/repos/Rajawali/RajawaliVuforia/issues/47","id":112359462,"user":{"login":"nileshlg2003","id":4803667,"avatar_url":"https://avatars.githubusercontent.com/u/4803667?v=3","gravatar_id":"","url":"https://api.github.com/users/nileshlg2003","html_url":"https://github.com/nileshlg2003","followers_url":"https://api.github.com/users/nileshlg2003/followers","following_url":"https://api.github.com/users/nileshlg2003/following{/other_user}","gists_url":"https://api.github.com/users/nileshlg2003/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshlg2003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshlg2003/subscriptions","organizations_url":"https://api.github.com/users/nileshlg2003/orgs","repos_url":"https://api.github.com/users/nileshlg2003/repos","events_url":"https://api.github.com/users/nileshlg2003/events{/privacy}","received_events_url":"https://api.github.com/users/nileshlg2003/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T09:18:43Z","updated_at":"2015-06-16T09:18:43Z","body":"I Imported RajawaliVuforiaExample in android studio,\r\n\r\nI get this error upon gradle build\r\n```\r\nUNEXPECTED TOP-LEVEL EXCEPTION:\r\ncom.android.dex.DexException: Multiple dex files define Lcom/qualcomm/QCAR/BuildConfig;\r\n\tat com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)\r\n\tat com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)\r\n\tat com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)\r\n\tat com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)\r\n\tat com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\r\n\tat com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)\r\n\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)\r\n\tat com.android.dx.command.dexer.Main.run(Main.java:246)\r\n\tat com.android.dx.command.dexer.Main.main(Main.java:215)\r\n\tat com.android.dx.command.Main.main(Main.java:106)\r\nError:Execution failed for task ':app:dexDebug'.\r\n> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\\Program Files\\Java\\jdk1.7.0_10\\bin\\java.exe'' finished with non-zero exit value 2\r\n```"}}