I can't package my project into apk, but other projects can

offline

#1

The above is the error of the buildserver.I can pack other apks, except for one of my programs, which makes me wonder.

I hope friends in the community can help me.


#2

Why don’t you give information about the apk that isn’t building? Else we will be wondering to.


#3

Teacherclient.aia (928.6 KB)
Sorry.I missed it.


#4

Sorry, i dont have time to test every aia i get offered. Tell about your app. What components you use etc. Are there big assets inside and so on.


#5

The issue is with screens, I will post screenshot soon

Edit: As I have experienced this in another project, does these screens belong to your project if not here is a working aia Teacherclient.aia (914.5 KB) with only Screen1

bild

@Hossein do you know anything about this

/Boban


#6

Thanks for your awesome help! It is greatly appreciated.
Another problem though… there’s another project with the same format as Teacherclient, however I can’t locate the other screens.
Where can I find them and delete them?
P.S: If I can’t solve it on my device, can you help do the same for that project too? (deleting the extra screens).
Thanks.
The people here are so nice! Love this forum!
studentclient.aia (1.6 MB)


#7

Looks the same as the last one

Unfortunately, my lunch break is over now so I can’t work on it anymore, maybe later when I get home

/Boban


#8

OK.I solved it.Thanks again.It’s weird,there are many backup and other screens I deleted in youngandroidproject folder.


#9

I’m currently on mobile. What’s hastening? Backup screens getting into apk??


#10

In the aia file…

/Boban


#11

Hi, I seem to have the same issue here but my aia has no backup screens. Other projects are building fine offline except one with the below error.

AppyBuilder is unable to compile this project.
The compiler error output was
________Creating fragment xml
________Creating provider_path xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 9.324 seconds
________Compiling source files
(compiling C:\Users\YAW~1.OWU\AppData\Local\Temp\1565596071342_0.7332255011983749-0\youngandroidproject…\src\com\appybuilder\felixsarp\Untamed\Buy.yail to com.appybuilder.felixsarp.Untamed.Buy)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:122:3: warning - more than one possibly applicable method ‘put’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:125:3: warning - more than one possibly applicable method ‘get’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:702:7: warning - more than one possibly applicable method ‘put’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:704:7: warning - more than one possibly applicable method ‘put’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:714:9: warning - more than one possibly applicable method ‘get’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:719:7: warning - more than one possibly applicable method ‘remove’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.remove(java.lang.Object)
candidate: void gnu.mapping.Environment.remove(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.remove(gnu.mapping.EnvironmentKey)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:721:7: warning - more than one possibly applicable method ‘remove’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.remove(java.lang.Object)
candidate: void gnu.mapping.Environment.remove(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.remove(gnu.mapping.EnvironmentKey)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:727:11: warning - more than one possibly applicable method ‘put’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:729:11: warning - more than one possibly applicable method ‘put’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:735:9: warning - more than one possibly applicable method ‘put’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:737:9: warning - more than one possibly applicable method ‘put’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.Object,java.lang.Object)
candidate: void gnu.mapping.Environment.put(gnu.mapping.Symbol,java.lang.Object)
candidate: java.lang.Object gnu.mapping.Environment.put(java.lang.String,java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:747:9: warning - more than one possibly applicable method ‘get’ in gnu.mapping.Environment
candidate: java.lang.Object gnu.mapping.Environment.get(gnu.mapping.Symbol)
candidate: java.lang.Object gnu.mapping.Environment.get(java.lang.Object)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:766:9: warning - no accessible method ‘addParent’ in gnu.mapping.Environment
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:1124:3: warning - no accessible method ‘runtimeFormErrorOccurredEvent’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:1861:3: warning - more than one possibly applicable method ‘makeList’ in com.google.appinventor.components.runtime.util.YailList
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.util.List)
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.lang.Object[])
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.util.Collection)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:2543:5: warning - no known slot ‘getDhcpInfo’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:2565:3: warning - no known slot ‘post’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:2599:5: warning - no accessible method ‘clear’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:2603:3: warning - no accessible method ‘setFormName’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:2610:7: warning - no accessible method ‘deleteComponent’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:399:39: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:66: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:28: warning - more than one possibly applicable method ‘makeText’ in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:27: warning - no known slot ‘show’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:404:15: warning - no known slot ‘getMessage’ in java.lang.Object
(compiling C:\Users\YAW~1.OWU\AppData\Local\Temp\1565596071342_0.7332255011983749-0\youngandroidproject…\src\com\appybuilder\felixsarp\Untamed\Home.yail to com.appybuilder.felixsarp.Untamed.Home)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:399:39: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:66: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:28: warning - more than one possibly applicable method ‘makeText’ in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:27: warning - no known slot ‘show’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:404:15: warning - no known slot ‘getMessage’ in java.lang.Object
(compiling C:\Users\YAW~1.OWU\AppData\Local\Temp\1565596071342_0.7332255011983749-0\youngandroidproject…\src\com\appybuilder\felixsarp\Untamed\Screen1.yail to com.appybuilder.felixsarp.Untamed.Screen1)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:399:39: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:66: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:28: warning - more than one possibly applicable method ‘makeText’ in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:27: warning - no known slot ‘show’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:404:15: warning - no known slot ‘getMessage’ in java.lang.Object
(compiling C:\Users\YAW~1.OWU\AppData\Local\Temp\1565596071342_0.7332255011983749-0\youngandroidproject…\src\com\appybuilder\felixsarp\Untamed\SongSearch.yail to com.appybuilder.felixsarp.Untamed.SongSearch)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:399:39: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:66: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:28: warning - more than one possibly applicable method ‘makeText’ in android.widget.Toast
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,int,int)
candidate: android.widget.Toast android.widget.Toast.makeText(android.content.Context,java.lang.CharSequence,int)
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:400:27: warning - no known slot ‘show’ in java.lang.Object
C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm:404:15: warning - no known slot ‘getMessage’ in java.lang.Object
(compiling C:\Users\YAW~1.OWU\AppData\Local\Temp\runtime6305966872800640327.scm to com.google.youngandroid.runtime)
Kawa compile time: 22.23 seconds
________Invoking DX
DX time: 38.288 seconds
_______Invoking ApkBuilder to build: C:\Users\YAW~1.OWU\AppData\Local\Temp\1565596071342_0.7332255011983749-0\youngandroidproject…\build\deploy\Untamed.ap
YAIL compiler - ApkBuilder failed.


#12

Hard to say why it doesn’t want to build on your system

Is it a big project?

/Boban


#13

No, it’s not big and uses no extensions. If you don’t mind, I can send you the .aia file privately.


#14

Sure, I can take a look at it

/Boban