UniversalApk build lazarus / 43-Android ---------------------------------------------------------------------- Insid3Code · 2023-05-20 23:34 Hi, Case: Usually I rename my projects according to the task to be accomplished... so the built shared object takes the name of my project (e.g "libProfiler.so" instead of "libcontrols.so"). The Issue: When I rename my project I lose my build.gradle config because of the following checks based on hardcoded (constant = libcontrols.so) Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i          if FileExists(FPathToAndroidProject + 'libs\armeabi\libcontrols.so' ) then         begin           includeList.Add('''armeabi''');         end;          if FileExists(FPathToAndroidProject + 'libs\armeabi-v7a\libcontrols.so' ) then         begin           includeList.Add('''armeabi-v7a''');         end;          if FileExists(FPathToAndroidProject + 'libs\arm64-v8a\libcontrols.so' ) then         begin           includeList.Add('''arm64-v8a''');         end;          if FileExists(FPathToAndroidProject + 'libs\x86_64\libcontrols.so' ) then         begin           includeList.Add('''x86_64''');         end;          if FileExists(FPathToAndroidProject + 'libs\x86\libcontrols.so' ) then       begin           includeList.Add('''x86''');         end;          if FileExists(FPathToAndroidProject + 'libs\mips\libcontrols.so' ) then         begin           includeList.Add('''mips''');         end;          auxStr:= includeList.DelimitedText; //NEW! includeList based...          universalApk:= False;         if includeList.Count > 1 then           universalApk:= True; ---------------------------------------------------------------------- jmpessoa · 2023-05-20 23:55 Can you modifier/fix and send me your improved code? ---------------------------------------------------------------------- Insid3Code · 2023-05-25 15:29 Done... Pull requests... Thanks. ---------------------------------------------------------------------- jmpessoa · 2023-05-25 16:38 Committed! Thank you!