What to import in java?
ni5arga opened this issue · comments
Nisarga Adhikary commented
I was trying to use this lib for a project of mine. While compiling I received this error related to the import
[javac] C:\Users\rubyd\Desktop\extension-template\src\xyz\nisarga\DeviceInfoUtils\DeviceInfoUtils.java:23: error: package com.an does not exist
[javac] import com.an.deviceinfo;
What to import in java?
钟智强 commented
Most recommended way is to use gradle .
dependencies {
implementation 'com.an.deviceinfo:deviceinfo:0.1.5'
}
Nisarga Adhikary commented
Most recommended way is to use gradle .
dependencies { implementation 'com.an.deviceinfo:deviceinfo:0.1.5' }
Thanks 😊