MagicFoundation / Alcinoe

Alcinoe Component Library For Delphi. Full opengl video player, WebRTC delphi wrapper, native ios/android TEdit, Improuved firemonkey controls, Firebase cloud messaging, Android/ios facebook sdk login, Json/Bson Parser, ImageMagick wrapper, MongoDb client And much more
Apache License 2.0
996 stars 220 forks source link

Android merger error #363

Closed OnePeople-source closed 1 day ago

OnePeople-source commented 5 days ago

Delphi 12.2 Error SDKAaptPath is not configured SDKAaptPath is not in HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\PlatformSDKs\AndroidSDK25.2.5_32bit.sdk

Zeus64 commented 5 days ago

You use an old version of alcinoe. you need to use the last one. SDKAaptPath have been removed in Delphi 12.2

OnePeople-source commented 5 days ago

You use an old version of alcinoe. you need to use the last one. SDKAaptPath have been removed in Delphi 12.2

But in new version TALRectangle.Fill.Bitmap is over(

Zeus64 commented 5 days ago

no really, you can use instead TALRectangle.Fill.ResourceName ... can you show me the code where you need a TBitmap ?

OnePeople-source commented 5 days ago

I load my skin from my xml file and if rLoad.Fill.Kind = TBrushKind.Bitmap then begin rLoad.Fill.Bitmap.Bitmap.LoadFromFile(bmRectPath);

if (rLoad.Fill.Kind = TBrushKind.Solid) and (rLoad.TagString <> 'Fill') then begin TAnimator.AnimateColor(rLoad, 'Fill.Color', StringToAlphaColor(JSONPar.GetChildNodeValueText ('fill', '0')), AnimationTime);

...............

Zeus64 commented 5 days ago

Try to do something like :

rLoad.Fill.resourceName := bmRectPath

OnePeople-source commented 3 days ago

Try to do something like :

rLoad.Fill.resourceName := bmRectPath

But if i need Bitmap.assign(rLoad.Fill.Bitmap)?

OnePeople-source commented 3 days ago

And in general, the old bitmap system was better. I have 100,000 lines of code in my application with a bitmap download, I don't want to redo everything at all (

Zeus64 commented 3 days ago

I understand. Unfortunately the bitmap was removed from the fill property for performance reason. Their is no plan to add it back :( where you need the bitmap you can continue to use TRectangle and on other you can use TALRectangle.

Zeus64 commented 1 day ago

I close this jira for now, I conseil you to use TRectangle where you need TBitmap and for other you can use TALRectangle