{"action":"created","issue":{"url":"https://api.github.com/repos/rollbar/rollbar-android/issues/16","labels_url":"https://api.github.com/repos/rollbar/rollbar-android/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/rollbar/rollbar-android/issues/16/comments","events_url":"https://api.github.com/repos/rollbar/rollbar-android/issues/16/events","html_url":"https://github.com/rollbar/rollbar-android/issues/16","id":53805214,"number":16,"title":" bad class file magic (cafebabe) or version (0034.0000)","user":{"login":"powder366","id":311073,"avatar_url":"https://avatars.githubusercontent.com/u/311073?v=3","gravatar_id":"","url":"https://api.github.com/users/powder366","html_url":"https://github.com/powder366","followers_url":"https://api.github.com/users/powder366/followers","following_url":"https://api.github.com/users/powder366/following{/other_user}","gists_url":"https://api.github.com/users/powder366/gists{/gist_id}","starred_url":"https://api.github.com/users/powder366/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powder366/subscriptions","organizations_url":"https://api.github.com/users/powder366/orgs","repos_url":"https://api.github.com/users/powder366/repos","events_url":"https://api.github.com/users/powder366/events{/privacy}","received_events_url":"https://api.github.com/users/powder366/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-08T21:46:54Z","updated_at":"2015-03-12T12:44:08Z","closed_at":"2015-01-21T19:47:38Z","body":"I get the following error under Android Studio with your jar file.\r\n\r\n uses-sdk android:minSdkVersion=\"9\" android:targetSdkVersion=\"10\"\r\nTried Java 1.6 and 1.7\r\n\r\nrollbar-android-0.1.1.jar\r\n\r\nError:Execution failed for task ':Timesheet:dexFreeRelease'.\r\n> com.android.ide.common.internal.LoggedErrorException: Failed to run command:\r\n  \t/Users//android/sdk/build-tools/19.1.0/dx --dex --output /Users/code/studio/Timesheet/Timesheet/build/intermediates/dex/free/release /Users/code/studio/Timesheet/Timesheet/build/intermediates/classes-proguard/free/release/classes.jar\r\n  Error Code:\r\n  \t1\r\n  Output:\r\n  \tUNEXPECTED TOP-LEVEL EXCEPTION:\r\n  \tcom.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)\r\n  \t\tat com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)\r\n  \t\tat com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)\r\n  \t\tat com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)\r\n  \t\tat com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)\r\n  \t\tat com.android.dx.command.dexer.Main.processClass(Main.java:665)\r\n  \t\tat com.android.dx.command.dexer.Main.processFileBytes(Main.java:634)\r\n  \t\tat com.android.dx.command.dexer.Main.access$600(Main.java:78)\r\n  \t\tat com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:572)\r\n  \t\tat com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)\r\n  \t\tat com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)\r\n  \t\tat com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)\r\n  \t\tat com.android.dx.command.dexer.Main.processOne(Main.java:596)\r\n  \t\tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:498)\r\n  \t\tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:264)\r\n  \t\tat com.android.dx.command.dexer.Main.run(Main.java:230)\r\n  \t\tat com.android.dx.command.dexer.Main.main(Main.java:199)\r\n  \t\tat com.android.dx.command.Main.main(Main.java:103)\r\n  \t...while parsing com/b/a/b.class\r\n  \t1 error; aborting"},"comment":{"url":"https://api.github.com/repos/rollbar/rollbar-android/issues/comments/78472478","html_url":"https://github.com/rollbar/rollbar-android/issues/16#issuecomment-78472478","issue_url":"https://api.github.com/repos/rollbar/rollbar-android/issues/16","id":78472478,"user":{"login":"muzammilhussnain14","id":11178535,"avatar_url":"https://avatars.githubusercontent.com/u/11178535?v=3","gravatar_id":"","url":"https://api.github.com/users/muzammilhussnain14","html_url":"https://github.com/muzammilhussnain14","followers_url":"https://api.github.com/users/muzammilhussnain14/followers","following_url":"https://api.github.com/users/muzammilhussnain14/following{/other_user}","gists_url":"https://api.github.com/users/muzammilhussnain14/gists{/gist_id}","starred_url":"https://api.github.com/users/muzammilhussnain14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muzammilhussnain14/subscriptions","organizations_url":"https://api.github.com/users/muzammilhussnain14/orgs","repos_url":"https://api.github.com/users/muzammilhussnain14/repos","events_url":"https://api.github.com/users/muzammilhussnain14/events{/privacy}","received_events_url":"https://api.github.com/users/muzammilhussnain14/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T12:44:08Z","updated_at":"2015-03-12T12:44:08Z","body":"@coryvirok  I'm getting same error but I'm using command line to generate classes.dex file but I'm getting this same error. I couldn't understand your above answer. can you kindly let me know how to fix this.\r\nI'm using this command\r\ndx \r\n--dex \r\n--verbose \r\n--output=C:\\Users\\Muzammil-Husnain\\testing\\Soothing-snow-fall\\bin\\classes.dex \r\nC:\\Users\\Muzammil-Husnain\\testing\\Soothing-snow-fall\\bin\\classes \r\nC:\\Users\\Muzammil-Husnain\\testing\\Soothing-snow-fall\\bin\\dexedLibs"}}