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
Create Android port #11
Comments
IPv8 is up and running on Android! Note that it gives an error after about 30 seconds (#19 ) Files to create the Python-for-Android distribution: https://github.com/devos50/ipv8-android-service |
@qstokkink it's just an error message and the app continues to work. I also noticed that the following is spammed in logcat:
Probably not critical but you might want to take a look at it? |
APK: |
Cool 👍 |
@devos50 I've been sifting through dependencies and compiling today, but I can't get past this step (part of
Do you know what's going on? |
@qstokkink I've encountered that error several times myself and I still haven't found the root cause. It might be that a specific recipe is not found, probably one of the recipes I've modified. Also, please verify that you run the version of Python-for-Android as specified in the |
@devos50 thanks, that was it: it needed that specific version (it wasn't working with the release or latest master from GitHub) |
Yeah, there is also a Also, some Blockchain engineering students just came here and asked whether they can also use the IPv8 Android backend so I'm working on a Jenkins job to build the |
@qstokkink the Jenkins job seems to produce a Python-for-Android distribution. Could you verify that this |
@devos50 I'm still trying to get https://github.com/devos50/ipv8-android-app to work.. 😢 |
Alright, I'm calling it a day. I'll try getting the app up and running again tomorrow. |
I got the build working, I needed the following changes in the model {
android {
defaultConfig {
minSdkVersion.apiLevel 21 // 18 -> 21
}
ndk {
platformVersion = 21 // 18 -> 21
CFlags.add("-isystem" + file("/home/quinten/Android/Sdk/ndk-bundle/sysroot/usr/include/arm-linux-androideabi")) // new
CFlags.add("-I" + file("/home/quinten/Android/Sdk/ndk-bundle/sysroot/usr/include")) // new
}
}
} And of course Android Studio 2.3.3 |
@devos50 with the new mp3:
|
Basic app is up and running now. |
Removed unused line
IPv8 should function as an Android app.
All of the dependencies have been compiled before for the Tribler project, these should/could be reused for the py-to-app compiler.
The text was updated successfully, but these errors were encountered: