Comments (11)
What's your Android SDK/NDK ? Did you correctly setup both of them ? Did you download one android platform with SDK android tool ?
from python-for-android.
I switched to androidapi=14 and all went fine. I was using androidapi=15
from python-for-android.
I can report the same issue, fails with androidapi 15, but works fine with 14 may be worth a note or something for anyone new setting up the enviroment.
from python-for-android.
Ok, after checking, android api 15 cannot be used cause it doesn't exist in NDK r7 (r7 was released before SDK 15). Adding a tip about it in the doc
from python-for-android.
added in doc
from python-for-android.
Same issue with android api 15 and kivy_stable, kivy compiled ok but had some errors later: import error for lang ets. I have latest SDK and NDK 8.
from python-for-android.
Same issue here with android api 18 and ndk r8b.
from python-for-android.
It turns out i need to set api to 14 instead of 18, though the sdk i use is api-18.
from python-for-android.
I was seeing the same "configure: error: C compiler cannot create executables" issue. After a bit of searching and looking at the output log I finally realized it was due to a permission issue. The configure script was trying to copy files to a directory but didn't have proper permissions. I fixed the issue by changing the ownership of the python-for-android directory to my user name. (chown -R "usernmae" python-for-android)
Thought I'd post this here in hopes it'll save someone else a bit of time. :-)
from python-for-android.
More information for those googlers: You're not constrained to API 14 - you just need to go to android developer website and download the latest NDK (not SDK, NDK) and then upgrade the your environment variables to point to the new NDK location (and new API level) and then re-run ./distribute.sh -m...... And everything works fine.
from python-for-android.
The easiest way to do it these days is to switch to buildozer instead of
bare python-for-android compiling, and use the default SDK and NDK settings
in buildozer. You don't even need to download the SDK and NDK because
buildozer will get them by itself.
On Sun, May 25, 2014 at 5:45 AM, Michael R. Hines
[email protected]:
More information for those googlers: You're not constrained to API 14 -
you just need to go to android developer website and download the latest
NDK (not SDK, NDK) and then upgrade the your environment variables to point
to the new NDK location (and new API level) and then re-run ./distribute.sh
-m...... And everything works fine.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-44127057
.
Ben Rousch
[email protected]
http://clusterbleep.net/
from python-for-android.
Related Issues (20)
- please add uvloop to recipes! HOT 1
- Recipe for mediapipe required to execute python code on android HOT 4
- OpenJDK 11 incompatibility beacuse of Gradle 8.x / cannot build apk on WSL v1 HOT 4
- Add a recipe for `orjson` HOT 3
- Mock assertion issue with ICU recipe under Python 3.12 HOT 3
- Fix screen orientation of PythonActivity.java
- Add the recipe for jsonrpcserver module
- #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
- error: command '/home/lumina/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit code 1 HOT 2
- Add the recipe for yt-dlp module
- Add recipe `pyreqwest_impersonate` HOT 27
- :rocket: Action plan for hosting prebuilt wheels
- Upgrade Pillow recipe to a version newer than 8.4.0 HOT 1
- `ValueError: unsupported hash type blake2s` / `code for hash blake2b was not found.`
- Numpy failing on development branch HOT 3
- pydantic_core makes all build fails HOT 21
- rust recipe shazamio-core, builds fine, but cannot locate symbol __gxx_personality_v0 HOT 7
- freetype recipe cannot download HOT 6
- М
- Build FastAPI app as an Android Service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-for-android.