<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107643/kotlin-ble-library</link><description>Hi, I am busy researching the best ways to communicate with Ble devices through an app. I added the dependencies of Nordics Kotlin Ble library into a new kotlin project and then realized that classes like BleScanner(Context) and BleScanResultAggregator</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jan 2024 10:56:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107643/kotlin-ble-library" /><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465954?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 10:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bd15158-4463-4af5-82ef-a6bdd09f17be</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;No problem at all!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any other issues or questions in the future! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465927?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 08:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f9448b1-f2ec-423e-85c8-7b75c7226f9a</guid><dc:creator>mike_scriven</dc:creator><description>&lt;p&gt;Ahh ok I see.&lt;br /&gt;Thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465922?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 08:24:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7900ae03-5f7a-477f-b88a-1a9d634192f8</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="mike_scriven"]Ahh awesome!&lt;br /&gt;I will try it out with Java 17 thanks so much![/quote]
&lt;p&gt;No problem at all, we are happy to help! :)&amp;nbsp;&lt;/p&gt;
[quote user="mike_scriven"]I just realized though - Isn&amp;#39;t this a Kotlin Library?&lt;br /&gt;(I am new to kotlin and still learning stuff about Android)&lt;br /&gt;Why does it rely on JAVA?[/quote]
&lt;p&gt;Yes, it is a Kotlin library, and Kotlin requires Java - Kotlin has 100% interoperability with Java, and compiles to JVM bytecode, which is why it requires java.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://stackoverflow.com/questions/48036758/is-the-jdk-required-for-kotlin"&gt;You can read more in-depth about this in this stackoverflow thread&lt;/a&gt; :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465900?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 01:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:502c0966-b5df-4295-87a8-b128110be9c7</guid><dc:creator>mike_scriven</dc:creator><description>&lt;p&gt;I just realized though - Isn&amp;#39;t this a Kotlin Library?&lt;br /&gt;(I am new to kotlin and still learning stuff about Android)&lt;br /&gt;Why does it rely on JAVA?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465871?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 17:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ec5002d-9373-46c7-b6a7-50ca1b861194</guid><dc:creator>mike_scriven</dc:creator><description>&lt;p&gt;Ahh awesome!&lt;br /&gt;I will try it out with Java 17 thanks so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465849?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 15:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17ecafa5-c2db-417e-b099-a0050402965c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="mike_scriven"]Thanks for the reply.[/quote]
&lt;p&gt;No problem at all, we are happy to help! :)&amp;nbsp;&lt;/p&gt;
[quote user="mike_scriven"]I simply downloaded the latest release source code and opened it up in Android Studio and received this error upon&amp;nbsp;syncing the Gradle file.&lt;br /&gt;I got the exact same error when cloning the Kotlin-BLE-Library repo[/quote]
&lt;p&gt;I have discussed this further with our developers and they gave this a try and were able to reproduce your issue when they set JAVA to 11, but&amp;nbsp;our application only support JAVA 17.&lt;br /&gt;&lt;br /&gt;If you are currently using JAVA 11 please switch to JAVA 17 and see if this resolves your issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465715?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 07:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fa5dd6a-86f8-4c5f-8b42-4baf50b964ad</guid><dc:creator>mike_scriven</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;br /&gt;I simply downloaded the latest release source code and opened it up in Android Studio and received this error upon&amp;nbsp;syncing the Gradle file.&lt;br /&gt;I got the exact same error when cloning the Kotlin-BLE-Library repo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465712?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 07:40:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6863b61b-600e-4443-a1e1-a8b3243c107a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I just spoke to our main developers on the Kotlin BLE library, and they state:&lt;br /&gt;&lt;span&gt;&lt;span dir="ltr"&gt;We don&amp;#39;t have dependency: &lt;code&gt;no.nordicsemi.android.gradle:plugins:1.11.1&lt;/code&gt;. We have only &lt;code&gt;no.nordicsemi.android.gradle:version-catalog:1.11.1&lt;/code&gt; where we put all our plugins as dependencies.&lt;br /&gt;&lt;br /&gt;They also tested the nRF-Toolbox from main without any issue.&lt;br /&gt;&lt;br /&gt;Is this a fresh environment you are setting up, or is this something you have been working with before in other projects, which you are now adding the nRF-Toolbox and Kotlin BLE library to?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Kotlin BLE Library</title><link>https://devzone.nordicsemi.com/thread/465349?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 13:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9be9fc8-c50a-49c4-a735-769f0f3bbc6e</guid><dc:creator>mike_scriven</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1705931294599v1.png" alt=" " /&gt;&lt;br /&gt;I get the same error when downloading NRF Toolbox from their github.&lt;br /&gt;I even downloaded their gradle plugins package and imported it into the project but still get the same error.&lt;br /&gt;Any help would be appreciated!&lt;br /&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>