W webhost.company Active Member Licensed User Longtime User Oct 31, 2024 #1 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 New Text Document.txt 4.5 KB · Views: 358
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
Erel B4X founder Staff member Licensed User Longtime User Nov 1, 2024 #2 Which libraries are referenced? Where does this come from: org.jetbrains.kotlin-kotlin-stdlib ? It should be removed. Upvote 0
Which libraries are referenced? Where does this come from: org.jetbrains.kotlin-kotlin-stdlib ? It should be removed.
W webhost.company Active Member Licensed User Longtime User Nov 2, 2024 #3 I attached libraries list How remove it? Attachments 1.JPG 47 KB · Views: 387 2.JPG 44.3 KB · Views: 387 Upvote 0
W webhost.company Active Member Licensed User Longtime User Nov 2, 2024 #4 I ignore it with #ExcludedLib: kotlin-stdlib I have a new error now about guava I attach it Attachments New Text Document.txt New Text Document.txt 4.8 KB · Views: 361 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2024 #5 The correct way to reference Guava with B4A v13 is: Code: #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
The correct way to reference Guava with B4A v13 is: Code: #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.
W webhost.company Active Member Licensed User Longtime User Nov 3, 2024 #6 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 error.txt 4.7 KB · Views: 353 Upvote 0
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
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2024 #7 Try this: Code: #ExcludedLib: guava-30.1.1.withoutlistenable.jar Upvote 0
W webhost.company Active Member Licensed User Longtime User Nov 6, 2024 #8 Erel said: Try this: Code: #ExcludedLib: guava-30.1.1.withoutlistenable.jar Click to expand... Finally, I restore old SDK files Thanks Upvote 0
Erel said: Try this: Code: #ExcludedLib: guava-30.1.1.withoutlistenable.jar Click to expand... Finally, I restore old SDK files Thanks