Extension blocking the build using ai2offline

i am using the free extension netconnected of Said Dev to check internet connection.
it works fine in development mode, but if i try to build the apk, the compiler stops with a dialog page showing the steps of building (but the errors don’t help to understand what happened).
did anybody face similar issue?

Why not show what errors you get? If you want help you have to provide as much information as possible.

i didn’t post because i think that the contents don’t help, but i will do it in few minutes, anyway do you think a reason can be that it has been done for thunkable?

Quite possibly…

Without any further information from your side it is hard to say.

I used the extension from Said Dev from here
https://www.aix-extensions.fr/downloads/internet-checker-extension/

Put it in an empty project and could build without a problem. So maybe something else is the problem.

image

I think you are right.
Maybe because I am using the Offline version of ai2 ( https://sourceforge.net/projects/ai2offline/ ).
I’m afraid the issue comes from a bug there.

In fact this version is acting like the space for the apps on my hard disk has been “saturated” and even by deleting all the Apps from MyProject and from Trash now I cannot load any aia anymore.

i reinstalled the offline version and the result is the same. build blocked with errors.
so it must be a different reason. Here is the error

App Inventor is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation 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.35 seconds
________Compiling source files
(compiling C:\Users\carlo\AppData\Local\Temp\1583919988244_0.4592724078472994-0\youngandroidproject…\src\com\test\LetsGetCrowd\Screen1.yail to com.test.LetsGetCrowd.Screen1)
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.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\carlo\AppData\Local\Temp\runtime7147548697214859127.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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:797: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:799: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:809: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:814: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:816: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:822: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:824: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:830: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:832: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:842: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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:861:9: warning - no accessible method ‘addParent’ in gnu.mapping.Environment
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:1057:28: warning - more than one possibly applicable method ‘dispatchPermissionDeniedEvent’ in com.google.appinventor.components.runtime.Form
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,java.lang.String)
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,com.google.appinventor.components.runtime.errors.PermissionException)
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:1256:3: warning - no accessible method ‘runtimeFormErrorOccurredEvent’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:1285:21: warning - more than one possibly applicable method ‘dispatchPermissionDeniedEvent’ in com.google.appinventor.components.runtime.Form
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,java.lang.String)
candidate: void com.google.appinventor.components.runtime.Form.dispatchPermissionDeniedEvent(com.google.appinventor.components.runtime.Component,java.lang.String,com.google.appinventor.components.runtime.errors.PermissionException)
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:1564:13: warning - no known slot ‘toYailDictionary’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:2060: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.util.Collection)
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.util.Set)
candidate: com.google.appinventor.components.runtime.util.YailList com.google.appinventor.components.runtime.util.YailList.makeList(java.lang.Object[])
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:2520:3: warning - no known slot ‘setValueForKeyPath’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:2851:5: warning - no known slot ‘getDhcpInfo’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:2873:3: warning - no known slot ‘post’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:2914:5: warning - no accessible method ‘clear’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:2918:3: warning - no accessible method ‘setFormName’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:2925:7: warning - no accessible method ‘deleteComponent’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:409:84: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:411:23: 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\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:411:22: warning - no known slot ‘show’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\runtime7147548697214859127.scm:415:15: warning - no known slot ‘getMessage’ in java.lang.Object
C:\Users\carlo\AppData\Local\Temp\1583919988244_0.4592724078472994-0\youngandroidproject…\src\com\test\LetsGetCrowd\Screen1.yail:90:1: caught exception in inliner for # - java.lang.RuntimeException: no such class: co.com.netConnected.netConnected
gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:179)
gnu.bytecode.ClassType.getModifiers(ClassType.java:103)
gnu.bytecode.ClassType.isInterface(ClassType.java:471)
gnu.expr.InlineCalls.checkType(InlineCalls.java:56)
gnu.expr.InlineCalls.visit(InlineCalls.java:49)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:363)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitSetExp(ExpVisitor.java:114)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:369)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:28)
gnu.expr.SetExp.visit(SetExp.java:406)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:272)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:28)
gnu.expr.BeginExp.visit(BeginExp.java:156)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitAndUpdate(ExpVisitor.java:161)
gnu.expr.ExpVisitor.visitExps(ExpVisitor.java:175)
gnu.expr.ApplyExp.visitArgs(ApplyExp.java:415)
gnu.kawa.functions.CompileMisc.validateApplyAppendValues(CompileMisc.java:139)
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
gnu.expr.InlineCalls.maybeInline(InlineCalls.java:467)
gnu.expr.QuoteExp.validateApply(QuoteExp.java:150)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:119)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:28)
gnu.expr.ApplyExp.visit(ApplyExp.java:410)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.LambdaExp.visitChildrenOnly(LambdaExp.java:1664)
gnu.expr.LambdaExp.visitChildren(LambdaExp.java:1651)
gnu.expr.InlineCalls.visitScopeExp(InlineCalls.java:279)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:349)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitModuleExp(ExpVisitor.java:103)
gnu.expr.ModuleExp.visit(ModuleExp.java:482)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.inlineCalls(InlineCalls.java:33)
gnu.expr.Compilation.walkModule(Compilation.java:994)
gnu.expr.Compilation.process(Compilation.java:1965)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
kawa.repl.compileFiles(repl.java:783)
kawa.repl.processArgs(repl.java:412)
kawa.repl.main(repl.java:827)
Kawa compile time: 2.299 seconds
.

Hello crix2 - are there any warning symbols showing on your Project Blocks? Can we see your Project File?

It’s a huge project, also there are already 11 aix :frowning: and blocks are showing no error.
if i remove the Said Dev aix i can compile the apk without problems.
Maybe i can use a different aix to check if there is internet connection?

I also use Said Dev extension in some of my apps without any issues.
So maybe there is a conflict with another extension.

Problem solved! :smiley:
First I tried to remove the extension to let my App be built.
But since i was the only one facing this issue, you convinced me to investigate deeply.
So I reloaded the extension and put back the blocks I removed, one by one, compiling at every step to trap the reason, but… amazing… I could put all the things like before and now it works: I can built the App!

So I went back to the previous version that blocked the compiler. I removed the blocks netConnected.isOnline one by one till I removed all of them and I was not able to compile the file till i didn’t remove also the extension.

Maybe some strange conflict, like Anke said.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.