Hi,
this should work but there might be a regression in project creation in one 
of our recent plugin releases  (the latest should be fine). 

After doing a Refresh cn1libs open the "Messages" section. Toggle off the 
Tree mode on the left hand side to see the actual printouts. There might be 
some errors related to proguard there. You can remove that entire section 
from the build.xml if it's there.

After the process of refresh is done you can expand "lib/impl/cls" where 
you should be able to see all the expanded classes you should be able to 
import. Are the files there?


On Tuesday, February 16, 2021 at 5:54:56 PM UTC+2 [email protected] 
wrote:

> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: IntelliJ IDEA
> Desktop OS: Windows 10
>
> When I add the cn1lib "sensors" via the extensions-menu and click "Refresh 
> cn1lib", something seems to be downloaded and compiling. However, when I 
> try to import a class from the library, it doesn't seem to be in the 
> classpath.
> I tried all the things I could think of. The only one that seemed to do 
> anthing was copying the class files into the lib folder manually. This 
> creates a problem because then there are multiple Implementations of the 
> SensorManager in the classpath and it won't build.
> On Netbeans, the same code compiles and runs without issue.
>
> Any idea what I'm doing wrong here?
> Cheers
> Philip
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/64d2d907-5df6-4fe1-b410-0ceb5ff680b9n%40googlegroups.com.

Reply via email to