Juan Martinez 6 Posted October 27, 2020 Hello. I have a problem with a comercial android app. The app runs fine in the majority of android devices. But it's fail in two popular model in Spain: Galaxy A10 (With android 9) and Galaxy J7 Prime (Android 8 ) y Galaxy XCover4 SM-G390F (Android 9). I have no problem with more than 24 samsung tested models I've tested the two first devices in browserstack.com and i have the attached logcat Could someone help me? I don't know where to start Thanks in advance. (and sorry, my English is not good) log-all.txt log-onlypackage.txt 1 Share this post Link to post
Dave Nottage 557 Posted October 27, 2020 1 hour ago, Juan Martinez said: I have a problem with a comercial android app. ..and its name is? It may help in finding what the problem is from the logs. Better still, what is the package identifier? Is the app on the Google Play, and if so, is it available in all regions? 1 Share this post Link to post
Juan Martinez 6 Posted October 28, 2020 Hello Dave, Thanks for your response, The package name: com.tallentto.com The app is available in all regions: https://play.google.com/store/apps/details?id=com.tallentto.com Thank you very much! Share this post Link to post
Dave Nottage 557 Posted October 29, 2020 (edited) I've tried your app on my Samsung tablet which has Android 9, and the results are the same. It works on my Pixel 3a which has Android 11. Some questions: Was the application created in an earlier version of Delphi? i.e. like Delphi 10.3.x, or earlier? Does the Libraries node under the Android platform in Project Manager look different to this?: Are there any Java classes that your app uses that you needed to create (or find) an import for? i.e. one that was not supplied with Delphi? If so, which one(s)? Edited October 29, 2020 by Dave Nottage Share this post Link to post
Juan Martinez 6 Posted October 30, 2020 Hello Dave, I've discovered the problem. I upload and 64 bits apk with a reference to a prebuilt 32 bits apk. I had problems with the aab support in the previous version of Delphi and I prefer this way. The problem was that I referenced an old .so file in the Android64 deployment window. Samsung J3, Samsung A10... are 32 bits. Problem Solved. I've learned: check carefully the libs and so referenced in deployment. Dave: THANK YOU VERY MUCH. It's not the first time you try to help me, and you don't know how useful was your workarounds and firebase examples in your blog. Very talented Delphi developer, no doubt Thanks 1 1 Share this post Link to post
Dave Nottage 557 Posted October 30, 2020 3 hours ago, Juan Martinez said: The problem was that I referenced an old .so file in the Android64 deployment window. Thanks for that information. It might help other developers who make the same error. 3 hours ago, Juan Martinez said: Dave: THANK YOU VERY MUCH. You're welcome! 1 1 Share this post Link to post
Saphire Neil 1 Posted November 18, 2020 Hi Juan, I have the same problem with an app I released to the PlayStore. I have also written a really simply app for testing which has one text object and one button on it. When run in the IDE with debug 64bit it just sits on the splash screen. The phone is a Samsung Xcover4, but I also have the same problem on Samsung A10 devices as well. I have attached my test project for information. Can you advise how you fixed the issue in more detail as I cannot figure it out. Thanks, Neil Projects.7z Share this post Link to post
Juan Martinez 6 Posted November 18, 2020 Hello Neil, (my English is bad. Sorry). I've tested the project in Samsung A10 and ... it's not ok. Following the steps: 1º) Run the app with 32 bits debug 2º) Go to YourProjectFolder\Android\Debug\Project1\library\lib\armeabi-v7a folder and check the libProject1.so exists ( view the create date ) 3º) Delphi IDE: Deployment - Select Debug configuration - Android 64 bit platform. 4º) UNCHECK ($BDS)\lib\android\debig\armeabi-v7a\ 5º) Add the file "libprojec.so" (step2) and set "remote path" to "library\lib\armeabi-v7a\" I've tested in a Samsung A10 and now all it's fine. Share this post Link to post
Saphire Neil 1 Posted November 18, 2020 Hi Jaun, Thank you so much for coming back to me so quickly, I tested the above and that done the trick! I also spotted a problem with my release version, long story short, I forgot to tick the “Generate Android App Bundle file (arm + arm64) in the “Compiling” option with the target set to "Android Release 64bit", I ticked this and re-published my app and that sorted the release version. Thank you again. Neil 1 Share this post Link to post