Error compiling Punya app
william-vw opened this issue · comments
William Van Woensel commented
When trying to compile a toy project in Punya I get the error below. Compiling it using App Inventor isn’t a problem (although it complains about the project version being too new). Maybe the build error logs from yesterday can shed some light ..
(The linked project is the latest version from App Inventor, which doesn’t compile in Punya either – but the original project in Punya had the exact same problem.)
Punya Framework is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating style xml
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 2.093 seconds
________Compiling source files
gnu.text.SyntaxException:
at kawa.Shell.run(Shell.java:257)
at kawa.Shell.runFile(Shell.java:490)
at kawa.Shell.runFileOrClass(Shell.java:428)
at kawa.repl.processArgs(repl.java:216)
at kawa.repl.main(repl.java:827)
Kawa compile time: 2.487 seconds
Affects
App compilation
- Designer
- Blocks editor
- Companion
- Compiled apps
- Buildserver
- Debugging
- Other... (please describe)
For an app to be compiled without errors
Steps to reproduce
Import the .aia file into Punya and select Build > Android App.
Android Builder commented
#55 (Check this Pull Request Maybe it's solved)