Android Question D8.jar lib missing

Beja

Expert
Licensed User
Longtime User
Hi,
Today I got an error during compilation.. with the message D8.jar library missing.. I searched the forum and was advised to change the sdk version to 31, but that didn't work either.
Anyone knows where I can download this lib from?
 

DonManfred

Expert
Licensed User
Longtime User
Sounds like you are using an old and outdated SDK.

Reinstall B4A and the SDK.
Follow the installationinstructions carefully.


Reference:
v11.5 - March 21, 2022 - https://www.b4x.com/android/forum/threads/b4a-v11-50-has-been-released.139288/

  • Optimized dexer replaced with D8 tool.
  • Support for targetSdkVersion=31.
  • New #ExcludedLib attribute that is required in some cases when multiple native libraries with different versions are referenced.
  • Updated internal libraries: OkHttp v1.50, OkHttpUtils2 v3.00, PreoptimizedCLV v1.21, Network v1.53, B4XTable v1.22, KeyValueStore v2.31, SMM v1.12, NB6 v1.02, FirebaseNotifications v2.01, B4XCollections v1.13
  • #ExcludedClasses attribute removed.
  • Bug fixes and other minor improvements.
 
Last edited:
Upvote 0

Beja

Expert
Licensed User
Longtime User
Sounds like you are using an old and outdated SDK.

Reinstall B4A and the SDK.
Follow the installationinstructions carefully.


Reference:

Hi Don,
Thanks and I am using the latest version of b4a.. 11.50
D8 is in the lib folder but can not load to the libraries list of B4A project when I refreshed it. I added it manually to the
files in Files Manager without success.. I always get this error message:
B4A Version: 11.50
Parsing code. (0.33s)
Java Version: 8
Building folders structure. (0.28s)
Compiling code. (0.49s)
Compiling layouts code. (0.08s)
Organizing libraries. (0.02s)
(Android Support Library)
Compiling resources (0.91s)
Linking resources (2.04s)
Compiling generated Java code. (9.22s)
Finding libraries that need to be dexed. Error
d8.jar missing

Any meaning appreciated
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
are you also using the new SDK? And have configured this new SDK in the IDE?
The SDK has changed some months ago. Everyone have to delete and install it new.

Thanks Don.. I see the latest SDK in 2018.. would you pls point me to the new version url..
Thanks in advance..
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
are you also using the new SDK? And have configured this new SDK in the IDE?
The SDK has changed some months ago. Everyone have to delete and install it new.

Hi Don,
At Erels's direction here , I opened SDK manager from tools and installed the selected items.. still D8,jar is missing.. any meaning?

best, -b
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Hi Don,
At Erels's direction here , I opened SDK manager from tools and installed the selected items.. still D8,jar is missing.. any meaning?
You are refering to an old (2 years) and outdated information. The SDK has changed a few months ago (i already told) and HAVE TO BE REPLACED by a new one.

DELETE YOUR SDK completely.

Install the SDK based on the Installationinstructions here: https://www.b4x.com/b4a.html#installation
It´s just a thing of downloading two ZIPs and extract them with 7Zip....

follow the installationinstructions carefully. It will just work
 
Last edited:
Upvote 0
Top