Build fails when generating APK

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
pK
Reply | Threaded
Open this post in threaded view
|

Build fails when generating APK

pK
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

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. Learn how to encrypt your email with the Email Self-Defense guide.

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. Naučte sa ako šifrovať svoj email so Sprievodcom dedinčana svetom IT.

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. Naučte se jak šifrovat svůj email s průvodcem Emailové Sebeobrany.

Szívesebben használok titkosított emailt. Az én nyilvános kulcsom ujjlenyomata 97AA 0B87 C4E2 6140
BD12 2371 EEB0 D33D DA60 DF3E. Megtanulják hogyan kell titkosítani az emailt az Email Önvédelmi
útmutatóval.

_______________________________________________
Linphone-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-users