|
Post by n00b on Jul 18, 2022 20:40:38 GMT -6
When you extract the android sdk zip (the latest version for linux is commandlinetools-linux-8512546_latest) it has a cmdline-tools folder in it. Inside that cmdline-tools folder there is a lib and bin folder.
So it looks like this:
commandlinetools-linux-8512546_latest -> cmdline-tools -> ( bin and lib folders).
You would just rename commandlinetools-linux-8512546_latest to android_sdk.
|
|
|
Post by johnno56 on Jul 18, 2022 21:25:10 GMT -6
Cool... Thank you.
|
|
|
Post by johnno56 on Jul 18, 2022 22:07:55 GMT -6
I feel as though I am going around in circles...
Downloaded cmdline-tools. Extracted and renamed folder to android_sdk Moved android_sdk folder to "Programs" Checked .bashrc for correct directories
john@john-H81M-DS2:~/Downloads/rcbasic_linux_318$ source ~/.bashrc john@john-H81M-DS2:~/Downloads/rcbasic_linux_318$ echo $ANDROID_HOME /home/john/Programs/android_sdk john@john-H81M-DS2:~/Downloads/rcbasic_linux_318$ ./init_android_sdk.sh API_VERSION is set to 28 ./init_android_sdk.sh: line 26: cd: /home/john/Programs/android_sdk/cmdline-tools/bin: No such file or directory ./init_android_sdk.sh: line 27: ./sdkmanager: No such file or directory Performing initial setup for RCBasic Android Build Tool Configuring SDK ./init_android_sdk.sh: line 71: /home/john/Programs/android_sdk/cmdline-tools/bin/sdkmanager: No such file or directory ./init_android_sdk.sh: line 72: /home/john/Programs/android_sdk/cmdline-tools/bin/sdkmanager: No such file or directory Initial Setup is Complete
Back to the same problem... Everything downloaded, extracted, renamed and moved correctly. But the same problem pops up. Notice the directory that "init_android_sdk.sh" is "expecting"... /home/john/Programs/android_sdk/cmdline-tools/bin... It is looking for the cmdline-tools folder within the android_sdk folder. This is what I have been saying all the time. When the cmdline-tool.zip is unpacked. there are no other folders within it...
I created a cmdline-tools folder with android_sdk folder and moved the 'bin', 'lib' and others into cmdline-tools. Re-ran init_android_sdk.sh All licenses were accepted and the initial setup completed.
The next part of the video dealt with setting up Geany...
I will attempt an export of Golden Waves and get back to you... Fingers crossed...
|
|
|
Post by johnno56 on Jul 18, 2022 22:18:04 GMT -6
Ran Distribution to produce a Linux64 and an Android app for Golden Waves...
Well... One out of two is not too bad...
> Configure project :app NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /ndk/21.4.7075529. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
File /home/john/.android/repositories.cfg could not be loaded. Checking the license for package SDK Patch Applier v4 in /home/john/Programs/rcbasic/tools/dist/rcbasic_android/android-project/licenses Warning: License for package SDK Patch Applier v4 not accepted. Checking the license for package Android Emulator in /home/john/Programs/rcbasic/tools/dist/rcbasic_android/android-project/licenses Warning: License for package Android Emulator not accepted. Checking the license for package Android SDK Platform-Tools in /home/john/Programs/rcbasic/tools/dist/rcbasic_android/android-project/licenses Warning: License for package Android SDK Platform-Tools not accepted. Checking the license for package Android SDK Tools in /home/john/Programs/rcbasic/tools/dist/rcbasic_android/android-project/licenses Warning: License for package Android SDK Tools not accepted. Checking the license for package Android SDK Build-Tools 28.0.2 in /home/john/Programs/rcbasic/tools/dist/rcbasic_android/android-project/licenses Warning: License for package Android SDK Build-Tools 28.0.2 not accepted. Checking the license for package Android SDK Platform 28 in /home/john/Programs/rcbasic/tools/dist/rcbasic_android/android-project/licenses Warning: License for package Android SDK Platform 28 not accepted.
RESULTS --------------------
Successfully Created Linux 64-Bit App
'====================================
ANDROID_NDK? I do not know what this or if it is required. Any ideas?
|
|
|
Post by n00b on Jul 19, 2022 16:56:57 GMT -6
I need to try to reproduce your issue so it may take me some time. I will get back with you as soon as I find out whats wrong.
|
|
|
Post by n00b on Jul 25, 2022 8:26:52 GMT -6
Ok, I tried installing the android sdk and going through the steps again on my laptop and it is also breaking. I have worked through part of the problem but its not going to be something that I can quickly fix. Google has been making it increasingly harder to use the Android SDK. I know Ubuntu and many other distros have been packaging the SDK in there repos so I might try to see if I can get those to work.
I will try to have a fix in place for the next release.
|
|
|
Post by johnno56 on Jul 25, 2022 13:27:41 GMT -6
I am going to test RC with the repository version of SDK... What could possibly go wrong? Moo Ha Ha...
|
|
|
Post by johnno56 on Jul 25, 2022 14:05:38 GMT -6
Well... The intentions and the idea were "shaky" at best... The "init" is looking for version 28 of the API... This is actually a positive result... I am having to learn patience and to wait on the efforts of others as well... lol
The next release looks like a "doable" goal... I would offer help if I could... Line #4; Verse 3 of Simon and Garfunkel's song, "Sparrow [March 1964]" (taken completely out of context) says, "I would if I could, but I cannot, I know" Ha. The stuff one remembers from so long ago... lol
|
|