Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Issue To Add DLMS Library In My Android Project

Issue to add DLMS library in my android project

By altumerc , 24 April, 2024
Forums
Gurux.DLMS

I am adding 'com.github.gurux:gurux.dlms.android:-SNAPSHOT'

plugins {
alias(libs.plugins.androidApplication)
}

android {
namespace 'com.example.meterconnect'
compileSdk 34

defaultConfig {
applicationId "com.example.meterconnect"
minSdk 24
targetSdk 34
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {

implementation libs.appcompat
implementation libs.material
implementation 'com.github.gurux:gurux.dlms.android:-SNAPSHOT'
testImplementation libs.junit
androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core
}
to my build.gradle file but it shows an error
Failed to resolve: com.github.gurux:gurux.dlms.android:-SNAPSHOT

i want to use the gurux dlms library to make an application to connect to my smart meter

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Use this: implementation…

Hi,

Use this:

implementation 'org.gurux:gurux.dlms.android:2.0.4'

BR,
Mikko

altumerc

2 years 1 month ago

Hi Miko thanks it works but…

Hi Miko thanks it works but now I am not finding any method which will help me to connect to my smart meter in the documentation can you help me with the issue
Thanks

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, There is a lot that you…

Hi,

There is a lot that you need to do before you can establish the connection for DLMS meter. Check the Java example. It will do what you want to do.

https://github.com/Gurux/Gurux.DLMS.Android

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin