-
Notifications
You must be signed in to change notification settings - Fork 504
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
ValueError: Tried to access ndk_ver but it has not been set - this should not happen, something went wrong! #893
Comments
Hi! I see you have there a |
@nitanmarcel Thank you for reminding me! I just updated it, but I still get the same error. |
@Petar-Luketina make sure is the same error. The newer update brought me a new error as mentioned here kivy/python-for-android#1808 |
Some things you could try:
|
I tried the last two suggestions but I haven't tried to build with Python 3x. You still have to use Crysyax, correct? |
I don't really remember. When I installed buildozer I just installed the dependencies and install it with sudo apt install -y \
build-essential \
ccache \
git \
libncurses5:i386 \
libstdc++6:i386 \
libgtk2.0-0:i386 \
libpangox-1.0-0:i386 \
libpangoxft-1.0-0:i386 \
libidn11:i386 \
python2.7 \
python2.7-dev \
openjdk-8-jdk \
unzip \
zlib1g-dev \
zlib1g:i386 \
libltdl-dev \
libffi-dev \
libssl-dev \
autoconf \
autotools-dev
cmake
# Install Buildozer
git clone https://github.com/kivy/buildozer.git
cd buildozer
sudo python3 setup.py install |
I did the above and got this error AttributeError: |
Yes, that means you're on the right version 😆 The fix for that can be found here: |
Cool! That's good to know. What file do I add this code to:
|
The toolchain.py file needs to be edited. That was just a lazy fix of mine and incomplete. Better wait for the devs to approve that PR by JonasT as it contains the full fix :) |
Okay. Thank you for the heads up!
…On Tue, Apr 30, 2019, 2:18 PM nitanmarcel ***@***.***> wrote:
The toolchain.py file needs to be edited. That was just a lazy fix of mine
and incomplete. Better wait for the devs to approve that PR by JonasT as it
contains the full fix :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#893 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AJ7QHBBQXCFRGZMX6DJR6E3PTCEPBANCNFSM4HJHK25A>
.
|
@Petar-Luketina the dev has approved the PR. Is safe to build your app now |
@nitanmarcel I did this just now:
I still got the same error. Did your deployment work? |
@Petar-Luketina The problem was with python-for-android so make sure you updated your repo, or comment out Also make sure you deleted the . buildozer folder before building again :) |
@nitanmarcel I appreciate all your help! It worked flawlessly. |
Description
I'm trying to deploy my app with
buildozer android deploy
andbuildozer android debug
but I keep getting the same error no matter what settings I use. I tried:I also tried commenting out the the
android. ...
but neither solved my problem. Does anyone know what the error message means? Thank you in advance!Logs
The text was updated successfully, but these errors were encountered: