The source code written in Java is already located in the folder YOUR_APP\Objects\src, but this code is very difficult to use in Android Studio since it is intended to work in B4A. Additionally, it is not possible to use the layouts from B4A in Android Studio.
The only solution is to rewrite the application from scratch with Java or katlin Kotlin.