Java Question Error after desugar

Pendrush

Well-Known Member
Licensed User
Longtime User
You can download libs from here.
After desugar Huawei libs... On compile in B4A I get this error:

Any hint?
 

Pendrush

Well-Known Member
Licensed User
Longtime User
Did not try as I need to merge 6-8 libs still not sure which one, but hianalytics-5.0.1.301.aar is mandatory.
 
Last edited:

Pendrush

Well-Known Member
Licensed User
Longtime User
I have try to include all libs like this
B4X:
@BA.DependsOn(values = {"agconnect-core-1.4.0.300.aar", "base-5.0.0.301.aar", "device-5.0.0.301.aar", "hianalytics-5.0.1.301.aar", "hwid-5.0.1.301.aar", "network-common-4.0.2.300.aar", "network-grs-4.0.2.300.aar", "opendevice-5.0.0.301.aar", "push-5.0.1.300.aar", "stats-5.0.0.301.aar"})
But for example I get error HMS Base not found, opendevice not found.. etc...
 

Pendrush

Well-Known Member
Licensed User
Longtime User
Nope.
HMS Base = base-5.0.0.301.aar
OpenDevice = opendevice-5.0.0.301.aar
They are included, but for some reason hianalytics-5.0.1.301.aar did not find them.
Desugaring should solve this problem?
 

DonManfred

Expert
Licensed User
Longtime User
Desugaring should solve this problem?
NO! Desugaring fixes another problem.

 

Pendrush

Well-Known Member
Licensed User
Longtime User
MultiDex did not help. Without desugaring I get this warnings in log:
All SDKs are included.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…