Closed StickyPine closed 1 year ago
Can you tell, where you got app? We have report that application built on f-droid didn't works.
From f-droid indeed.
Can you try packages from releases here?
When following the build instructions, it fails with the error :
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':i2pd:generateJsonModelDebug'.
> executing external native build for ndkBuild /home/pine/Lab/i2pd-android/app/jni/Android.mk
When building it with gradle --info clean assembleDebug
The new information regarding the fail is :
> Task :i2pd:generateJsonModelDebug FAILED
Task :i2pd:generateJsonModelDebug in i2pd Starting
Gradle local properties file not found at /home/pine/Lab/i2pd-android/local.properties
Caching disabled for task ':i2pd:generateJsonModelDebug' because:
Build cache is disabled
Building with gradle --build-cache --info clean assembleDebug
it becomes :
> Task :i2pd:generateJsonModelDebug FAILED
Task :i2pd:generateJsonModelDebug in i2pd Starting
Gradle local properties file not found at /home/pine/Lab/i2pd-android/local.properties
Caching disabled for task ':i2pd:generateJsonModelDebug' because:
Caching has not been enabled for the task
Please read README! And show what are you done.
I followed the README and posted the output of this process in my previous comment. What information are you missing ? My gradle version is 7.3
In that case
FAILURE: Build failed with an exception.
Post log before that message, without any additional options, which was used for output 2 and 3.
This is the complete log message after following the README :
./compile.sh: 6: pushd: not found
./compile.sh: 7: ./build_boost.sh: not found
./compile.sh: 8: ./build_openssl.sh: not found
./compile.sh: 9: ./build_miniupnpc.sh: not found
./compile.sh: 10: popd: not found
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :i2pd:generateJsonModelDebug FAILED
/opt/android-sdk/ndk/23.1.7779620/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
/opt/android-sdk/ndk/23.1.7779620/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
/opt/android-sdk/ndk/23.1.7779620/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
/opt/android-sdk/ndk/23.1.7779620/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':i2pd:generateJsonModelDebug'.
> executing external native build for ndkBuild /home/pine/Lab/i2pd-android/app/jni/Android.mk
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 7s
15 actionable tasks: 14 executed, 1 up-to-date
We dont have compile.sh, so check it, because you havent wrote it correctly. pushd and popd seems like not available in your shell
Well, it looks like the build script I made was broken, sorry about that.
I did manage to compile and install it, but it sadly isn't any better than the one from the repos. After turning it on and off once, the app crashes when starting the router.
Well, it looks like the build script I made was broken, sorry about that.
I did manage to compile and install it, but it sadly isn't any better than the one from the repos. After turning it on and off once, the app crashes when starting the router.
Can you get crash dump with logcat?
Here is the output of adb logcat i2pd *:S
when a crash occurred :
--------- beginning of system
--------- beginning of main
03-20 09:47:57.642 1394 1394 I i2pd : daemon state change: stopped
03-20 09:49:13.142 1399 1399 I i2pd : daemon state change: starting
03-20 09:49:13.152 1399 5580 D i2pd : dir.mkdirs() returned false
03-20 09:49:13.155 1399 5580 D i2pd : dir.mkdirs() returned false
03-20 09:49:13.175 1399 5580 D i2pd : dir.mkdirs() returned false
03-20 09:49:13.191 1399 5580 D i2pd : dir.mkdirs() returned false
03-20 09:49:13.197 1399 5580 D i2pd : dir.mkdirs() returned false
03-20 09:49:13.248 1399 5580 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:49:13.258 1399 5580 D i2pd : setting webconsole language to english
03-20 09:49:20.221 1399 5580 I i2pd : daemon state change: startedOkay
03-20 09:49:23.405 1399 1399 I i2pd : daemon state change: stopped
03-20 09:49:23.432 1399 5694 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:49:23.440 1399 5694 D i2pd : setting webconsole language to english
03-20 09:49:30.302 1399 5694 I i2pd : daemon state change: startedOkay
03-20 09:49:33.419 1399 1399 I i2pd : daemon state change: stopped
03-20 09:49:48.956 1402 1402 I i2pd : daemon state change: starting
03-20 09:49:48.964 1402 5821 D i2pd : dir.mkdirs() returned false
03-20 09:49:48.967 1402 5821 D i2pd : dir.mkdirs() returned false
03-20 09:49:48.983 1402 5821 D i2pd : dir.mkdirs() returned false
03-20 09:49:49.000 1402 5821 D i2pd : dir.mkdirs() returned false
03-20 09:49:49.005 1402 5821 D i2pd : dir.mkdirs() returned false
03-20 09:49:49.049 1402 5821 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:49:49.058 1402 5821 D i2pd : setting webconsole language to english
03-20 09:49:56.107 1402 5821 I i2pd : daemon state change: startedOkay
03-20 09:49:59.217 1402 1402 I i2pd : daemon state change: stopped
03-20 09:49:59.244 1402 5920 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:49:59.252 1402 5920 D i2pd : setting webconsole language to english
03-20 09:50:05.975 1402 5920 I i2pd : daemon state change: startedOkay
03-20 09:50:09.093 1402 1402 I i2pd : daemon state change: stopped
03-20 09:50:41.010 1402 6052 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:50:41.019 1402 6052 D i2pd : setting webconsole language to english
03-20 09:50:48.161 1402 6052 I i2pd : daemon state change: startedOkay
03-20 09:51:23.467 1402 1402 I i2pd : daemon state change: stopped
03-20 09:51:26.922 1402 6187 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:51:26.931 1402 6187 D i2pd : setting webconsole language to english
03-20 09:51:34.022 1402 6187 I i2pd : daemon state change: startedOkay
03-20 09:51:37.169 1402 1402 I i2pd : daemon state change: stopped
03-20 09:51:50.438 1402 6285 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:51:50.446 1402 6285 D i2pd : setting webconsole language to english
03-20 09:51:57.360 1402 6285 I i2pd : daemon state change: startedOkay
03-20 09:52:00.476 1402 1402 I i2pd : daemon state change: stopped
03-20 09:52:00.515 1402 6459 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:52:00.523 1402 6459 D i2pd : setting webconsole language to english
03-20 09:52:07.638 1402 6459 I i2pd : daemon state change: startedOkay
03-20 09:52:10.760 1402 1402 I i2pd : daemon state change: stopped
03-20 09:52:18.662 1402 6542 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:52:18.671 1402 6542 D i2pd : setting webconsole language to english
03-20 09:52:25.828 1402 6542 I i2pd : daemon state change: startedOkay
03-20 09:52:28.799 1402 1402 I i2pd : daemon state change: stopped
03-20 09:52:29.708 1402 6620 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:52:29.718 1402 6620 D i2pd : setting webconsole language to english
03-20 09:52:35.284 1402 6620 I i2pd : daemon state change: startedOkay
03-20 09:52:38.354 1402 1402 I i2pd : daemon state change: stopped
03-20 09:52:43.060 1402 6715 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:52:43.070 1402 6715 D i2pd : setting webconsole language to english
03-20 09:52:50.214 1402 6715 I i2pd : daemon state change: startedOkay
03-20 09:53:47.904 1402 1402 I i2pd : daemon state change: stopped
03-20 09:55:53.720 1402 6999 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:55:53.730 1402 6999 D i2pd : setting webconsole language to english
03-20 09:56:00.847 1402 6999 I i2pd : daemon state change: startedOkay
03-20 09:56:03.918 1402 1402 I i2pd : daemon state change: stopped
03-20 09:56:06.094 1402 7069 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:56:06.104 1402 7069 D i2pd : setting webconsole language to english
03-20 09:56:13.292 1402 7069 I i2pd : daemon state change: startedOkay
03-20 09:56:16.425 1402 1402 I i2pd : daemon state change: stopped
03-20 09:56:21.545 1402 7171 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:56:21.555 1402 7171 D i2pd : setting webconsole language to english
03-20 09:56:28.718 1402 7171 I i2pd : daemon state change: startedOkay
03-20 09:56:33.281 1402 1402 I i2pd : daemon state change: stopped
03-20 09:57:29.315 1406 1406 I i2pd : daemon state change: starting
03-20 09:57:29.322 1406 7376 D i2pd : dir.mkdirs() returned false
03-20 09:57:29.326 1406 7376 D i2pd : dir.mkdirs() returned false
03-20 09:57:29.327 1406 7376 D i2pd : dir.mkdirs() returned false
03-20 09:57:29.339 1406 7376 D i2pd : dir.mkdirs() returned false
03-20 09:57:29.358 1406 7376 D i2pd : dir.mkdirs() returned false
03-20 09:57:29.420 1406 7376 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:57:29.433 1406 7376 D i2pd : setting webconsole language to english
03-20 09:57:36.489 1406 7376 I i2pd : daemon state change: startedOkay
03-20 09:57:40.881 1406 1406 I i2pd : daemon state change: stopped
03-20 09:57:40.922 1406 7513 I i2pd : daemon state change: jniLibraryLoaded
03-20 09:57:40.930 1406 7513 D i2pd : setting webconsole language to english
Closing as outdated. Check with latest versions.
I would like to be more precise in order to help tackle those issues but, at least on lineageOS 18.1 (althoug I got the same feedback from other platforms), the app has been unusable.
-Most of the time i2pd is unable to create tunnels, it is shown in the webconsole with a Tunnel creation success rate of 0%. I only managed to get it working twice.
-The app completely crashes really often.
-Graceful stop doesn't work and crashes the app.
-The webconsole assert that everything is working fine, but I'm unable to bind to the socket.
I hope the app will keep getting better with time !