Android Question Info old b4a project 2014.

SalentoFC

Member
Licensed User
Longtime User
Good morning. I have an old project (a memory game) that I created back in 2014; the APK from that time, naturally, no longer runs on modern Android devices. Is it possible to adapt the code to the current version of B4A so that it can run on modern devices? I have already configured the paths for `javac` and the SDK, but when I try to compile, I encounter a strange error related to `androidx/multidex`. Thanks, everyone!

1793358136743.png
 
Install all new (especiallly the SDK). You are most probably using an outdated one.

 
Upvote 0
I also get a series of errors about missing libraries for 1.OperatingSystem; 2.FTP; 3.BetterDialogs; 4.SMPT and the http and httputils libraries are missing. Plus a whole series of other libraries that it can't find. It’s going to be a nightmare trying to bring 12-year-old code up to modern standards :-(
 
Upvote 0
but there's this new error:
are you sure you configured the new sdk (ressources) correctly in the IDE? Seems that not.

The ressources-zip has changed. The actual ressources should contain the multidex class.
 
Last edited:
Upvote 0
No, I'm using the new Android SDK version.
You are NOT. The new android should be sdk 36.

Again. You are not using the new SDK. Delete all, Download all NEW from the link i posted in #2. ESPECIALLY the updated resources.zip (7_25).
Install all, configure the SDK as explained in https://www.b4x.com/b4a.html#installation

To test your SDK you can open the SDK Manager. It outputs the SDK installed

javaw_RVoiy1ufmT.png


If you have another SDK Version installed you did something wrong.
 
Upvote 0
Back
Top