Android Question Error kotlin-stdlib on compile

webhost.company

Active Member
Licensed User
Longtime User
I updated SDK to the latest version from the site
Also java SDK
Now there is an error in the compile
I use the below parameters for it:
#ExcludedLib: kotlin-stdlib-1.6.10
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="34"/>
java jdk: jdk-19.0.2\bin\javac.exe
android.jar: E:\B4a\sdk2\platforms\android-34\android.jar
I have attached the error file
 

Attachments

  • New Text Document.txt
    4.5 KB · Views: 34

webhost.company

Active Member
Licensed User
Longtime User
I ignore it with #ExcludedLib: kotlin-stdlib
I have a new error now about guava
I attach it
 

Attachments

  • New Text Document.txt
    4.8 KB · Views: 27
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The correct way to reference Guava with B4A v13 is:
B4X:
#ExcludedLib: guava-26.0-android.jar
#AdditionalJar: com.google.guava:guava
#AdditionalJar: com.google.guava:listenablefuture

It s possible that one of the libraries that you are using references a different version of Guava and then you will need to exclude it as well.
 
Upvote 0

webhost.company

Active Member
Licensed User
Longtime User
I added it already but still have error (Attached)
My project attribute are
#Region Project Attributes
#ApplicationLabel: ZANEX
#VersionCode: 7
#VersionName: 4.0.0
' #ExcludedLib: kotlin-stdlib-1.6.10
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: landscape
#CanInstallToExternalStorage: True
#AdditionalRes: ../wheelpicker_resource
#AdditionalJar: com.android.support:support-v4
#AdditionalJar: com.android.support:recyclerview-v7
#AdditionalJar: com.google.firebase:firebase-core
#AdditionalJar: com.google.firebase:firebase-messaging
#AdditionalJar: com.android.support:support-core-utils
#ExcludedLib: kotlin-stdlib
#ExcludedLib: guava-26.0-android.jar
#AdditionalJar: com.google.guava:guava
#AdditionalJar: com.google.guava:listenablefuture
#MultiDex: True
'theme_color: #0f0925
#End Region
 

Attachments

  • error.txt
    4.7 KB · Views: 26
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…