0

Can someone please explain this error message to me?

java.lang.ClassNotFoundException: Didn't find class "null.Loop" on path: DexPathList[[dex file "/storage/emulated/0/JavaNIDE/operators/app/build/dexedClasses/classes.dex"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at com.duy.android.compiler.java.Java.run(Java.java:91) at com.duy.ide.javaide.run.activities.ExecuteActivity.executeDex(ExecuteActivity.java:147) at com.duy.ide.javaide.run.activities.ExecuteActivity.exec(ExecuteActivity.java:124) at com.duy.ide.javaide.run.activities.ExecuteActivity.access$100(ExecuteActivity.java:45) at com.duy.ide.javaide.run.activities.ExecuteActivity$1.run(ExecuteActivity.java:88) at java.lang.Thread.run(Thread.java:818) Suppressed: java.lang.ClassNotFoundException: Didn't find class "null.Loop" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/...

14th Jul 2020, 8:06 PM
Michael
Michael - avatar
9 Respostas
+ 2
Michael Sengwayo you tried to install package the class same causing the error... once removed it ran fine.
14th Jul 2020, 8:27 PM
BroFar
BroFar - avatar
14th Jul 2020, 8:24 PM
BroFar
BroFar - avatar
+ 1
Thank you very much. Understand it now.
14th Jul 2020, 8:29 PM
Michael
Michael - avatar
0
Are you using an android ide?
14th Jul 2020, 8:12 PM
Emanuel Maliaño
Emanuel Maliaño - avatar
0
Yes. Java N-IDE.
14th Jul 2020, 8:13 PM
Michael
Michael - avatar
0
You can post the code to check if it is your code the problem or the problem of the ide.
14th Jul 2020, 8:15 PM
Emanuel Maliaño
Emanuel Maliaño - avatar
0
Michael Sengwayo this would be easier to diagnose with your code here so we could establish and help correct the error. Thanks.
14th Jul 2020, 8:20 PM
BroFar
BroFar - avatar
0
package com.My_Calculation; public class MyCalculation { class Calculation { int z; public void addition(int x, int y) { z = x + y; System.out.println("The sum of the given numbers:"+z); } public void Subtraction(int x, int y) { z = x - y; System.out.println("The difference between the given numbers:"+z); } } public class MyCalculation extends Calculation { public void multiplication(int x, int y) { z = x * y; System.out.println("The product of the given numbers:"+z); } public static void main(String args[]) { int a = 20, b = 10; MyCalculation demo = new MyCalculation(); demo.addition(a, b); demo.Subtraction(a, b); demo.multiplication(a, b); } } }
14th Jul 2020, 8:21 PM
Michael
Michael - avatar
0
Very welcome Michael Sengwayo
14th Jul 2020, 8:31 PM
BroFar
BroFar - avatar