Closed arab-ware closed 10 months ago
Note : I used code assist, same project , works
Hello there , ! When I complie a java file with huge lines count , it deletes some statics methods, or even some normal methods , even when I use them (also proguard is not enabled so don't say please it is the problem)
building in CodeAssist And MakeBlock in sk pro Tnks
What??
Hello there , ! When I complie a java file with huge lines count , it deletes some statics methods, or even some normal methods , even when I use them (also proguard is not enabled so don't say please it is the problem)
building in CodeAssist And MakeBlock in sk pro Tnks
😐🙂did you understand what I mean. The complier fails when trying to compile my large java classes ... The complier should be changed to javac (same as code assist) It is more efficient
Can you try running the project again with minApi21 variant? It might be due to compiler update. If it still fails, send the .sketchware/debug.txt file here
Can you try running the project again with minApi21 variant? It might be due to compiler update. If it still fails, send the .sketchware/debug.txt file here
My Internet is weak , I could not download minApi21
By the way...I am sending debug log
2022-10-25T08:57:49.049+0300 D/AppBuilder: Running Eclipse compiler with these arguments: [-1.8, -nowarn, -deprecation, -d, /storage/emulated/0/.sketchware/mysc/767/bin/classes, -cp, /storage/emulated/0/.sketchware/mysc/767/bin/classes:/data/user/0/com.sketchware.remod/cache/libs/android.jar:/data/user/0/com.sketchware.remod/cache/libs/core-lambda-stubs.jar:/storage/emulated/0/.sketchware/libs/local_libs/FileWareUtilsArabWare/classes.jar:, -proc:none, /storage/emulated/0/.sketchware/mysc/767/app/src/main/java, /storage/emulated/0/.sketchware/mysc/767/gen, /storage/emulated/0/.sketchware/data/767/files/java] 2022-10-25T08:58:03.487+0300 D/AppBuilder: System.out of Eclipse compiler: 2022-10-25T08:58:03.498+0300 D/AppBuilder: System.err of Eclipse compiler: ----------
21 problems (21 warnings)
2022-10-25T08:58:03.721+0300 D/AppBuilder: Compiling Java files took 15599 ms 2022-10-25T08:58:15.344+0300 D/AppBuilder: D8 took 11563 ms 2022-10-25T08:58:15.384+0300 D/AppBuilder: Will merge these 2 DEX files to classes.dex: [/storage/emulated/0/.sketchware/libs/local_libs/FileWareUtilsArabWare/classes.dex, /storage/emulated/0/.sketchware/mysc/767/bin/dex/classes.dex] 2022-10-25T08:58:15.397+0300 D/AppBuilder: Skipped merging DEX files due to debug build with minSdkVersion >= 21 Packaging ArabWareFileManager.apk.unsigned /storage/emulated/0/.sketchware/mysc/767/bin/ArabWareFileManager.apk.res: => AndroidManifest.xml => res/drawable-xhdpi-v4/app_icon.png => res/drawable-xhdpi-v4/default_image.png => res/layout/home.xml => res/layout/main.xml => resources.arsc => assets/image.jpg /storage/emulated/0/.sketchware/libs/local_libs/FileWareUtilsArabWare/classes.dex => classes.dex /storage/emulated/0/.sketchware/libs/local_libs/FileWareUtilsArabWare/classes.jar: Native folder: /storage/emulated/0/.sketchware/data/767/files/native_libs /storage/emulated/0/.sketchware/mysc/767/bin/dex/classes.dex => classes2.dex 2022-10-25T08:58:18.214+0300 D/AppBuilder: Time passed since starting to compile resources until building the unsigned APK: 34892 ms
This Bug does not happen to smaller java classes It deletes some methods , I don't know why.
Javac ( code assist used complier ) works fine but I just suggest incase another one faces same problem
@PranavPurwar @JavkhlanK All the methods are available and the complier does not show build error But after runtime...it shows me the methods does not exist I tried another class the same Another code and the same... Why ....please tell me if you could solve this issue in 05rc , Currently I am forced to use code assist which is a bit hard to code (especially when I exit and open it again , it refresh and I should wait :/💔)
I sent all screen shots & build.txt as text everything look fine...but runtime does not
It is recommended to use version MinApi 21
This launcher is run time, pay attention to the errors, I have also encountered these simple errors, it is recommended to use the AndroidUtilCode library to create the library and respect the copyright.
Could you share the project or the Java source file that gets truncated somehow? Doesn't look like debug.txt is telling anything important.
Could you share the project or the Java source file that gets truncated somehow? Doesn't look like debug.txt is telling anything important.
So , did you guys try my java files? I shared a link , have a nice day , tell me result
I'll look at it now.
Maybe you had a wrong classpath and outdated source files set. I couldn't find those methods in source files in the GitHub repo you linked.
It doesn't look like any more info about the issue will be sent anytime soon, so I'll close this.
Please re-open this or a new Issue only with more details.
Hello there , ! When I complie a java file with huge lines count , it deletes some statics methods, or even some normal methods , even when I use them (also proguard is not enabled so don't say please it is the problem)