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. Node
  3. 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 6 months ago

Hi, Use this: implementation…

Hi,

Use this:

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

BR,
Mikko

altumerc

2 years 6 months 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 6 months 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, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin