Skip to content
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

Error compiling Punya app #54

Closed
1 of 7 tasks
william-vw opened this issue Aug 3, 2021 · 1 comment · Fixed by #56
Closed
1 of 7 tasks

Error compiling Punya app #54

william-vw opened this issue Aug 3, 2021 · 1 comment · Fixed by #56
Labels

Comments

@william-vw
Copy link
Contributor

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.

@william-vw william-vw added the bug label Aug 3, 2021
@AndroidBuilder-ab
Copy link
Contributor

AndroidBuilder-ab commented Aug 6, 2021

#55 (Check this Pull Request Maybe it's solved)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants