{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client/issues/355","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client/issues/355/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client/issues/355/events","html_url":"https://github.com/rabbitmq/rabbitmq-java-client/issues/355","id":309413380,"node_id":"MDU6SXNzdWUzMDk0MTMzODA=","number":355,"title":" Error with com.rabbitmq:amqp-client:5.2.0 dependency","user":{"login":"anelfdz","id":12952860,"node_id":"MDQ6VXNlcjEyOTUyODYw","avatar_url":"https://avatars0.githubusercontent.com/u/12952860?v=4","gravatar_id":"","url":"https://api.github.com/users/anelfdz","html_url":"https://github.com/anelfdz","followers_url":"https://api.github.com/users/anelfdz/followers","following_url":"https://api.github.com/users/anelfdz/following{/other_user}","gists_url":"https://api.github.com/users/anelfdz/gists{/gist_id}","starred_url":"https://api.github.com/users/anelfdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anelfdz/subscriptions","organizations_url":"https://api.github.com/users/anelfdz/orgs","repos_url":"https://api.github.com/users/anelfdz/repos","events_url":"https://api.github.com/users/anelfdz/events{/privacy}","received_events_url":"https://api.github.com/users/anelfdz/received_events","type":"User","site_admin":false},"labels":[{"id":178460895,"node_id":"MDU6TGFiZWwxNzg0NjA4OTU=","url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client/labels/mailing%20list%20material","name":"mailing list material","color":"ffffff","default":false}],"state":"closed","locked":true,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-28T15:18:28Z","updated_at":"2018-07-13T13:44:37Z","closed_at":"2018-03-28T15:27:20Z","author_association":"NONE","body":"Hi there!\r\n\r\nI want to use RabbitMQ Java Client in my Android app, I added the dependency\r\n\r\n`implementation com.rabbitmq:amqp-client:5.2.0`\r\n\r\nbut when I try to build my project I got the following error:\r\n```\r\nException in thread \"main\" java.lang.TypeNotPresentException: Type io.micrometer.core.instrument.MeterRegistry not present\r\n        at sun.invoke.util.BytecodeDescriptor.parseSig(BytecodeDescriptor.java:85)\r\n        at sun.invoke.util.BytecodeDescriptor.parseMethod(BytecodeDescriptor.java:54)\r\n        at sun.invoke.util.BytecodeDescriptor.parseMethod(BytecodeDescriptor.java:41)\r\n        at java.lang.invoke.MethodType.fromMethodDescriptorString(MethodType.java:1067)\r\n        at com.google.devtools.build.android.desugar.LambdaDesugaring$InvokedynamicRewriter.visitInvokeDynamicInsn(LambdaDesugaring.java:399)\r\n        at org.objectweb.asm.MethodVisitor.visitInvokeDynamicInsn(Unknown Source)\r\n        at org.objectweb.asm.MethodVisitor.visitInvokeDynamicInsn(Unknown Source)\r\n        at org.objectweb.asm.ClassReader.a(Unknown Source)\r\n        at org.objectweb.asm.ClassReader.b(Unknown Source)\r\n        at org.objectweb.asm.ClassReader.accept(Unknown Source)\r\n        at org.objectweb.asm.ClassReader.accept(Unknown Source)\r\n        at com.google.devtools.build.android.desugar.Desugar.desugarClassesInInput(Desugar.java:401)\r\n        at com.google.devtools.build.android.desugar.Desugar.desugarOneInput(Desugar.java:326)\r\n        at com.google.devtools.build.android.desugar.Desugar.desugar(Desugar.java:280)\r\n        at com.google.devtools.build.android.desugar.Desugar.main(Desugar.java:584)\r\nCaused by: java.lang.ClassNotFoundException: Class io.micrometer.core.instrument.MeterRegistry not found\r\n        at com.google.devtools.build.android.desugar.HeaderClassLoader.findClass(HeaderClassLoader.java:53)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n        at sun.invoke.util.BytecodeDescriptor.parseSig(BytecodeDescriptor.java:83)\r\n        ... 14 more\r\n```\r\n\r\nThis is my build.gradle file\r\n\r\n```\r\napply plugin: 'com.android.application'\r\nandroid {\r\n    compileSdkVersion 27\r\n    defaultConfig {\r\n        applicationId \"xxx\"\r\n        minSdkVersion 16\r\n        targetSdkVersion 27        \r\n        ...        \r\n    }\r\n    ...    \r\n    compileOptions {\r\n        sourceCompatibility JavaVersion.VERSION_1_8\r\n        targetCompatibility JavaVersion.VERSION_1_8\r\n    }    \r\n}\r\n...\r\ndependencies {\r\n    implementation fileTree(include: ['*.jar'], dir: 'libs')\r\n    ...\r\n    // RabbitMQ\r\n    implementation 'com.rabbitmq:amqp-client:5.2.0'\r\n    ...\r\n}\r\n```\r\n\r\nHow can I solve that issue?\r\n\r\nThanks in advance..."},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client/issues/comments/404837764","html_url":"https://github.com/rabbitmq/rabbitmq-java-client/issues/355#issuecomment-404837764","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-java-client/issues/355","id":404837764,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDgzNzc2NA==","user":{"login":"acogoluegnes","id":514737,"node_id":"MDQ6VXNlcjUxNDczNw==","avatar_url":"https://avatars2.githubusercontent.com/u/514737?v=4","gravatar_id":"","url":"https://api.github.com/users/acogoluegnes","html_url":"https://github.com/acogoluegnes","followers_url":"https://api.github.com/users/acogoluegnes/followers","following_url":"https://api.github.com/users/acogoluegnes/following{/other_user}","gists_url":"https://api.github.com/users/acogoluegnes/gists{/gist_id}","starred_url":"https://api.github.com/users/acogoluegnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acogoluegnes/subscriptions","organizations_url":"https://api.github.com/users/acogoluegnes/orgs","repos_url":"https://api.github.com/users/acogoluegnes/repos","events_url":"https://api.github.com/users/acogoluegnes/events{/privacy}","received_events_url":"https://api.github.com/users/acogoluegnes/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T13:44:37Z","updated_at":"2018-07-13T13:44:37Z","author_association":"CONTRIBUTOR","body":"[Fix](https://groups.google.com/d/msg/rabbitmq-users/-DN17_BtRWc/E7BlBLttBAAJ)"}}
{"actor":{"display_login":"acogoluegnes"}}