ArtemSBulgakov / buildozer-action

GitHub Action to build your Python application with Buildozer
MIT License
73 stars 71 forks source link

I got # AIDL not found, please install it. #31

Open JVProdc opened 1 year ago

JVProdc commented 1 year ago

I got this error, but I don't know how to instal aidl, can anyone help me?

Traceback:

Aidl not found, please install it.

Traceback (most recent call last): File "/action/entrypoint.py", line 159, in main() File "/action/entrypoint.py", line 27, in main run_command(env["INPUT_COMMAND"]) File "/action/entrypoint.py", line 135, in run_command retcode = subprocess.check_call(command, shell=True) File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'buildozer android debug' returned non-zero exit status 1.

[debug]Docker Action run completed with exit code 1

[debug]Finishing: Build with Buildozer

Thimphu123 commented 10 months ago

Same

manatlan commented 9 months ago

@Thimphu123 @JVProdc add this in your spec file :

android.accept_sdk_license = True

let me know, if this fix your problem

Thimphu123 commented 9 months ago

@manatlan I switch to use python-for-android directly and it works

JVProdc commented 9 months ago

@manatlan I switch to use python-for-android directly and it works

Ok, thank you

JVProdc commented 9 months ago

@manatlan I switch to use python-for-android directly and it works

I did not try this, i totaly switched to Java and Android studio instead of having troubles with python-android convertion

kurdemol94 commented 3 months ago

if anyone still searching for a solution, adding yes | in front of the command worked for me. Also used the latest version so not sure if it's relevant, I had the accept_sdk_license flag previously set to true and it didn't help


      - name: Build with Buildozer
        uses: ArtemSBulgakov/buildozer-action@v1.1.3
        id: buildozerBuild
        with:
          command: yes | buildozer -v android debug
          buildozer_version: master
Novfensec commented 4 days ago

Problems solved!

🎉 Exciting News! 🎉

I'm thrilled to announce that my APK build process for the SAMPLE-KIVYMD-APP repository has been successfully completed on GitHub! 🚀

It took some frustrating build failures but still I managed to succeed.

After resolving several challenges, my GitHub Actions workflow now reliably builds the APK for my KivyMD application, thanks to the latest updates and optimizations. This achievement marks a significant milestone for my project, bringing us one step closer to delivering an enhanced mobile experience.

🔧 Key Highlights:

For more details, you can check out the repository here. I am looking forward to your feedback.

Stay tuned for more updates and happy coding!