Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JVProdc opened this issue Aug 14, 2023 · 7 comments
Open

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

JVProdc opened this issue Aug 14, 2023 · 7 comments

Comments

@JVProdc
Copy link

JVProdc commented Aug 14, 2023

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
Copy link

Same

@manatlan
Copy link

@Thimphu123 @JVProdc
add this in your spec file :

android.accept_sdk_license = True

let me know, if this fix your problem

@Thimphu123
Copy link

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

@JVProdc
Copy link
Author

JVProdc commented Nov 14, 2023

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

Ok, thank you

@JVProdc
Copy link
Author

JVProdc commented Nov 14, 2023

@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
Copy link

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
Copy link

Novfensec commented Sep 3, 2024

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:

  • Automated APK Building: Our workflow now efficiently handles the APK build process without manual intervention.
  • Optimized Dependencies: We’ve integrated all necessary dependencies, ensuring a smooth build environment.
  • Seamless Deployment: The build process is fully automated, making it easier to deploy updates and improvements.

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants