Hello!
Всем привет! Я извиняюсь, что на русском, но думаю информация может быть полезной для многих. Хотя видео тоже на русском языке, но думаю, что многое и переводить не надо.
Правда видео довольно длинные... уж извиняюсь. )))
https://youtu.be/4oxssDB3JJE - программы, которые нужны или которые использовал
https://youtu.be/3tB_5mA2rO0 - и само создание APK-файла.
Проблемы при создании. Не советую пользоваться FPC 3.0.4 пользуйтесь версиями выше. В 3.0.4 походу недоработки где-то и скомпилированный файл может не запустится.
Проблемы с компиляцией в лазурусе. Если не компилируется файл, выдаёт ошибку, а считаете, что сделали всё верно, удалите *.lpi файл и попробуйте заново все настройки прописать.
Ещё одна проблема, вы может забыли положить скомпилированный *.so файл в нужную папку и/или включить загрузку этого файла в пакет.
Выявилась ещё одна проблемка. Работает данный метод только на Windows, на Linux проявляются проблемы с JNI. Поэтому, если кто знает как решить их, просьба указать. Я недавно на Linux. )))
google translate:
Hello everyone! I apologize for being in Russian, but I think the information may be useful for many. Although the video is also in Russian, I think that much does not need to be translated.
True, the videos are quite long ... I'm sorry. )))
https://youtu.be/4oxssDB3JJE - programs you need or used
https://youtu.be/3tB_5mA2rO0 - and the creation of the APK file itself.
Problems while creating. I do not recommend using FPC 3.0.4, use the versions above. In 3.0.4, there is a flaw somewhere and the compiled file may not start.
Compilation problems in lazarus. If the file does not compile, it gives an error, and you think that you did everything right, delete the * .lpi file and try to re-register all the settings.
Another problem, you may have forgotten to put the compiled * .so file in the correct folder and / or include the download of this file in the package.
Another problem came to light. This method works only on Windows, on Linux there are problems with JNI. Therefore, if anyone knows how to solve them, please indicate. I am recently on Linux. )))