Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit c0eebaa

Browse files
authored
Update LibsManager.java
1 parent 40c5ef5 commit c0eebaa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/id.my.alvinq.prokitid.app/libs/LibsManager.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
import dalvik.system.DexClassLoader;
44
import android.content.Context;
55
import java.io.*;
6-
import java.lang.reflect.Method;
6+
import java.lang.reflect.*;
77
import java.util.jar.JarFile;
88
import java.util.jar.JarEntry;
99
import org.json.JSONObject;
10+
import org.levimc.launcher.util.Logger;
1011

1112
public class LibsManager {
1213
private final Context context;
@@ -32,9 +33,9 @@ private static String getIsIis(File fl) {
3233
public void loadLib(File file) {
3334

3435
DexClassLoader dcl = new DexClassLoader(file.getAbsolutePath(),this.cDir.getAbsolutePath(),getIsIis(file),this.context.getClassLoader());
35-
String className = getMainClassFromManifest(jarFile);
36+
String className = getMainClassFromManifest(file);
3637
if (className == null) {
37-
Logger.get().error("main class tidak ditemukan di manifest.json di jar: " + jarFile.getName());
38+
Logger.get().error("main class tidak ditemukan di manifest.json di jar: " + file.getName());
3839
return;
3940
}
4041
Logger.get().info("Loaded Class -> " + className);

0 commit comments

Comments
 (0)