Ammu
August 6, 2021, 6:57am
1
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.107 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.551 seconds
anyone solve this error please.
Ammu:
Punya
#off topic
hey may i know whats punya ?
This is a bug in project. Nobody will solve the problem without showing his project.
Can you send me your .aia file?
Ammu
August 6, 2021, 7:52am
8
I'm not sure how I solve it in the Punya framework, sorry. When I import it into MIT App Inventor, there is only one checkbox and a button, and everything is going well.
Peter
August 6, 2021, 8:00am
10
I think there is something with the Punya buildserver. I get the same on an empty project
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.014 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.416 seconds
1 Like
Ammu
August 6, 2021, 8:01am
11
yes peter thanks for getting it
Ammu
August 6, 2021, 8:02am
12
gordonlu310:
MIT App Inventor,
I said about punya framework and I saw a issues request in git punya framwork
opened 01:52PM - 03 Aug 21 UTC
closed 08:20PM - 06 Oct 21 UTC
bug
When trying to compile [a toy project](http://ppr.cs.dal.ca:3005/LilSpender.aia)… 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
- [X] 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.
1 Like
Maybe the system has a bug. I also made a little test and it is not compilable.
Peter
August 6, 2021, 8:09am
15
You can not solve that. The devs will have to take a look at the issue.
Ammu
August 6, 2021, 8:10am
16
I'm also setup punya in my pc same error occured
Peter
August 6, 2021, 8:11am
17
Is there a special reason you are using Punya?
Ammu
August 6, 2021, 8:13am
18
Peter:
you are using Punya?
Extra Features and components.
Well, you can compile some of components as aixs and use it in normal instance too
Ammu
August 6, 2021, 8:28am
20
but why ?? we already have a punya