Problem solved. (changed path to ANDROID_HOME from relative to absolute)
Soon after I posted about my issue yesterday, it occured to me (after reading
some reports on the internet), that I'll look for classpath in ./gradlew
assembleDebug --debug output. I found that -bootclasspath was looking for
android-sdk inside the linphone-android folder, instead of outside (where it
should). While changing the path in ANDROID_HOME fixed the problem, it also
resulted in another error:
> Task :compileDebugJavaWithJavac
/media/trisquel/Samsung_1TB/Downloads/linphone-android/src/android/org/linphone/chat/GroupChatFragment.java:611:
error: cannot find symbol
mChatRoomSecurityLevel.setVisibility(View.GONE);
^
symbol: variable mChatRoomSecurityLevel
location: class GroupChatFragment
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
> Task :compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* 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
BUILD FAILED in 46s
29 actionable tasks: 27 executed, 2 up-to-date
Makefile:141: recipe for target 'generate-apk' failed
make: *** [generate-apk] Error 1
This turned out to be affecting the master branch only, however, I'm using the
tagged releases anyway.
November 11, 2018 7:47 AM, "pK" <[email protected]
(mailto:%22pK%22%20<[email protected]>)> wrote:
Output of make:
> Task :liblinphone-sdk:compileDebugJavaWithJavac FAILED
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':liblinphone-sdk:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* 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 (https://help.gradle.org)
BUILD FAILED in 49s
26 actionable tasks: 24 executed, 2 up-to-date
Makefile:141: recipe for target 'generate-apk' failed
make: *** [generate-apk] Error 1
./gradlew assembleDebug --info further reveals
> Task :liblinphone-sdk:compileDebugJavaWithJavac FAILED
file or directory
'/media/trisquel/Samsung_1TB/Downloads/linphone-android/liblinphone-sdk/build-types/debug/java',
not found
Task ':liblinphone-sdk:compileDebugJavaWithJavac' is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task
':liblinphone-sdk:compileDebugJavaWithJavac'.
Compiling with source level 1.7 and target level 1.7.
:liblinphone-sdk:compileDebugJavaWithJavac - is not incremental (e.g. outputs
have changed, no previous execution, etc.).
file or directory
'/media/trisquel/Samsung_1TB/Downloads/linphone-android/liblinphone-sdk/build-types/debug/java',
not found
Compiling with JDK Java compiler API.
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
:liblinphone-sdk:compileDebugJavaWithJavac (Thread[Task worker for ':',5,main])
completed. Took 0.345 secs.
Compilation used to work, but (since the last boot) it doesn't anymore, and I
can't find out why. I'm booting Trisquel 8.0 (Ubuntu 16.04 based) 64-bit from
LiveDVD (internal OS is old).
--
I prefer to use encrypted email. My public key fingerprint is 97AA 0B87 C4E2
6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Learn how to encrypt your email with the Email Self-Defense guide
(https://emailselfdefense.fsf.org/en/).
Preferujem použitie šifrovaného emailu. Môj odtlačok verejného kľúča je 97AA
0B87 C4E2 6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Naučte sa ako šifrovať svoj email so Sprievodcom dedinčana svetom IT
(http://slavino.sk/linux/vseobecne/ochrana-sukromia-v-emailoch.html).
Preferuji použití šifrovaného emailu. Můj otisk veřejného klíče je 97AA 0B87
C4E2 6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Naučte se jak šifrovat svůj email s průvodcem Emailové Sebeobrany
(https://emailselfdefense.fsf.org/cs/).
Szívesebben használok titkosított emailt. Az én nyilvános kulcsom ujjlenyomata
97AA 0B87 C4E2 6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Megtanulják hogyan kell titkosítani az emailt az Email Önvédelmi útmutatóval
(https://lacyc3.eu/nehany-szo-az-fsfe-tol-e-mail-onvedelem-megfigyeles-ellen-2).
--
I prefer to use encrypted email. My public key fingerprint is 97AA 0B87 C4E2
6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Learn how to encrypt your email with the Email Self-Defense guide
(https://emailselfdefense.fsf.org/en/).
Preferujem použitie šifrovaného emailu. Môj odtlačok verejného kľúča je 97AA
0B87 C4E2 6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Naučte sa ako šifrovať svoj email so Sprievodcom dedinčana svetom IT
(http://slavino.sk/linux/vseobecne/ochrana-sukromia-v-emailoch.html).
Preferuji použití šifrovaného emailu. Můj otisk veřejného klíče je 97AA 0B87
C4E2 6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Naučte se jak šifrovat svůj email s průvodcem Emailové Sebeobrany
(https://emailselfdefense.fsf.org/cs/).
Szívesebben használok titkosított emailt. Az én nyilvános kulcsom ujjlenyomata
97AA 0B87 C4E2 6140 BD12 2371 EEB0 D33D DA60 DF3E
(https://pgp.mit.edu/pks/lookup?op=get&search=0x97AA0B87C4E26140BD122371EEB0D33DDA60DF3E).
Megtanulják hogyan kell titkosítani az emailt az Email Önvédelmi útmutatóval
(https://lacyc3.eu/nehany-szo-az-fsfe-tol-e-mail-onvedelem-megfigyeles-ellen-2).
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users