|
Post by tbird on Dec 7, 2021 11:46:06 GMT -6
I have installed a fresh Ubuntu and had to go do chores but when I left everything is going way smoother, not done yet but it's looking promising.
|
|
|
Post by n00b on Dec 7, 2021 12:22:18 GMT -6
I have installed a fresh Ubuntu and had to go do chores but when I left everything is going way smoother, not done yet but it's looking promising. Hey tbird, that is good to here. I am putting together a small release to fix an issue with ReadInput specifically. I am going to be uploading it once I finish building it for Mac and IOS. I tested the apk I built in the video and it ran just fine on my phone. I know it was cut off a little bit in the video but to set environment variables permanently in linux you just need to add it to the .bashrc file which is a hidden file in your home folder. Just google how to view hidden files for your distro. Also, in the video I was doing this on a completely fresh install of Ubuntu 20.04 which means there wasn't other stuff from previous versions of android sdk to worry about. You might want to delete the .gradle folder if you have one in your home folder or your tools\dist\rcbasic_android\android-project inside of your rcbasic install directory. rosy I may have to upload v3.12 as I actually don't have a build for the package tool for v3.13. I have been deleting a lot of old files to save space and I think I deleted that when I was deleting some other stuff. I also did a lousy job of keeping track of source changes between versions so I wouldn't know how far back to go in the git history to build that version. I am going to be adding version tags going forward so I will be able to pull the source for specific versions going forward.
|
|
|
Post by tbird on Dec 7, 2021 13:19:51 GMT -6
I did figure out the file you were editing, although I couldn't quite see, all good, and I as well am working on a completely fresh distro it is an RCBasic only distro lol
|
|
|
Post by rosy on Dec 7, 2021 14:03:44 GMT -6
I think I have from version 3.13. But it doesn't work for me now. I don't remember which version worked for me and what version of Windows. Generally there is a problem with reading these environment variables, creating a directory and with these android versions.
|
|
|
Post by rosy on Dec 7, 2021 16:26:18 GMT -6
Why didn't you say you have to run it from a terminal otherwise it can't see the variables?
I enclose messages
Attachments:ab (420.17 KB)
|
|
|
Post by tbird on Dec 7, 2021 17:42:09 GMT -6
n00b Update on my situation, it works perfect I made 3 examples into apps all work, then I made a quick extra one all work perfect. Thanks!
|
|
|
Post by tbird on Dec 7, 2021 18:01:35 GMT -6
n00b, quick question is it in rcbasic_android_build.bat that I can set the api level. My sons tablet is api level 24.
|
|
|
Post by johnno56 on Dec 7, 2021 18:15:32 GMT -6
n00b , I have been running with version 3.16 since 14th Oct. I am currently running with 3.16_R2 which I installed on 6th Dec. Is there anything that you want me to test or check out? I do not believe that I have had any issues with 3.16 but I will continue to keep am eye out. Now, if you are referring to Android stuff, I have nothing to report on that as I have not had a need to use it as yet. J
|
|
|
Post by n00b on Dec 7, 2021 20:53:32 GMT -6
tbird Yes, just change API version in that batch file. I have also uploaded a beta for the next version. Download that from itch.io and try it out. If you already have android sdk setup you should just be able to start it and build your android app without any further setup. johnno56 I am working on some unit test for some of the features I frequently overlook. I will post it when I am done with it. rosy Sorry I just noticed the problem you are having. You are trying to build a release apk. You need to generate a keystore before you can build a release apk. I just fixed the genkey tool in the v3.17 release I just posted. Download that and run the genkey tool to build your keystore. For testing purposes I recommend using the debug apk because you won't need the keystore.
|
|
|
Post by rosy on Dec 8, 2021 2:45:38 GMT -6
And it is not possible to copy the key I generated earlier?
|
|
|
Post by n00b on Dec 8, 2021 9:26:38 GMT -6
And it is not possible to copy the key I generated earlier? Yes it is. Just put your keystore in the keystore folder.
|
|
|
Post by rosy on Dec 8, 2021 10:18:22 GMT -6
Well, I did ...
|
|
|
Post by n00b on Dec 8, 2021 10:33:56 GMT -6
Can you check the RCBasic Apps folder in your home directory to see if it actually built. It does show the build was successful so it could have actually made your APK.
I will try to post a video going through a release build on windows later today.
|
|
|
Post by rosy on Dec 8, 2021 15:56:43 GMT -6
And the problem with entering, for example, a password, is only me?
|
|
|
Post by n00b on Dec 8, 2021 17:26:42 GMT -6
And the problem with entering, for example, a password, is only me? I fixed it in v3.17
|
|