{"action":"created","issue":{"url":"https://api.github.com/repos/ACRA/acra/issues/349","labels_url":"https://api.github.com/repos/ACRA/acra/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/ACRA/acra/issues/349/comments","events_url":"https://api.github.com/repos/ACRA/acra/issues/349/events","html_url":"https://github.com/ACRA/acra/issues/349","id":126649389,"number":349,"title":"ACRA   java.lang.NoClassDefFoundError:","user":{"login":"ndeokar","id":16112654,"avatar_url":"https://avatars.githubusercontent.com/u/16112654?v=3","gravatar_id":"","url":"https://api.github.com/users/ndeokar","html_url":"https://github.com/ndeokar","followers_url":"https://api.github.com/users/ndeokar/followers","following_url":"https://api.github.com/users/ndeokar/following{/other_user}","gists_url":"https://api.github.com/users/ndeokar/gists{/gist_id}","starred_url":"https://api.github.com/users/ndeokar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndeokar/subscriptions","organizations_url":"https://api.github.com/users/ndeokar/orgs","repos_url":"https://api.github.com/users/ndeokar/repos","events_url":"https://api.github.com/users/ndeokar/events{/privacy}","received_events_url":"https://api.github.com/users/ndeokar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-14T12:55:18Z","updated_at":"2016-01-18T09:46:24Z","closed_at":"2016-01-18T09:46:24Z","body":"i am having trouble in adding the lib to the project.\r\ni have added the compile path to the build.gradle\r\neven i have initialized the ACRA in AppController.\r\n\r\neverything is well in place while i compile the app. but once i launch the app i stack trace says this\r\n\r\n\r\n\r\n@ReportsCrashes(\r\n        httpMethod = HttpSender.Method.POST,\r\n        reportType=org.acra.sender.HttpSender.Type.JSON,\r\n        formUri = \"http://192.168.0.104:8080/MutterflyWS/rest/acra/add\",\r\n        mode = ReportingInteractionMode.TOAST,\r\n        resToastText = R.string.crash_toast_text,\r\n        additionalSharedPreferences={\"MutterflyAppPref\"}\r\n)\r\n\r\npublic class AppController extends Application {\r\n\r\n\r\n    @Override\r\n    public void onCreate() {\r\n        super.onCreate();\r\n\r\n        // The following line triggers the initialization of ACRA\r\n       ACRA.init(this);\r\n    }\r\n\r\n}\r\n\r\n\r\n\r\n:13:02.100 30713-30713/com.skcsllp.mutterfly E/AndroidRuntime: FATAL EXCEPTION: main                                                                       java.lang.NoClassDefFoundError: org.acra.ErrorReporter$1\r\n                                                                           at org.acra.ErrorReporter.<clinit>(ErrorReporter.java:110)\r\n                                                                           at org.acra.ACRA.init(ACRA.java:178)\r\n                                                                           at org.acra.ACRA.init(ACRA.java:136)\r\n                                                                           at org.acra.ACRA.init(ACRA.java:121)\r\n                                                                           at com.skcsllp.mutterfly.Global.AppController.onCreate(AppController.java:43)\r\n                                                                           at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)\r\n                                                                           at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4684)\r\n                                                                           at android.app.ActivityThread.access$1400(ActivityThread.java:159)\r\n                                                                           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1376)\r\n                                                                           at android.os.Handler.dispatchMessage(Handler.java:99)\r\n                                                                           at android.os.Looper.loop(Looper.java:176)\r\n                                                                           at android.app.ActivityThread.main(ActivityThread.java:5419)\r\n                                                                           at java.lang.reflect.Method.invokeNative(Native Method)\r\n                                                                           at java.lang.reflect.Method.invoke(Method.java:525)\r\n                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)\r\n                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)\r\n                                                                           at dalvik.system.NativeStart.main(Native Method)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ACRA/acra/issues/comments/172480444","html_url":"https://github.com/ACRA/acra/issues/349#issuecomment-172480444","issue_url":"https://api.github.com/repos/ACRA/acra/issues/349","id":172480444,"user":{"login":"ndeokar","id":16112654,"avatar_url":"https://avatars.githubusercontent.com/u/16112654?v=3","gravatar_id":"","url":"https://api.github.com/users/ndeokar","html_url":"https://github.com/ndeokar","followers_url":"https://api.github.com/users/ndeokar/followers","following_url":"https://api.github.com/users/ndeokar/following{/other_user}","gists_url":"https://api.github.com/users/ndeokar/gists{/gist_id}","starred_url":"https://api.github.com/users/ndeokar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndeokar/subscriptions","organizations_url":"https://api.github.com/users/ndeokar/orgs","repos_url":"https://api.github.com/users/ndeokar/repos","events_url":"https://api.github.com/users/ndeokar/events{/privacy}","received_events_url":"https://api.github.com/users/ndeokar/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T09:46:24Z","updated_at":"2016-01-18T09:46:24Z","body":"thanks a ton! it worked.. proguard was skipping acra class files..."}}