Skip to content

Commit 51f7ac9

Browse files
committed
FIX: SignerThread IndexOutOfBoundException
1 parent e942961 commit 51f7ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source-code/app/src/main/java/org/buildmlearn/toolkit/utilities/SignerThread.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public NodeVisitor child(String ns, String name) {
132132
}
133133

134134
private String getFinalApkPath(String buildmlearnPath) {
135-
int index = buildmlearnPath.lastIndexOf(context.getString(R.string.main_title));
135+
int index = buildmlearnPath.lastIndexOf("buildmlearn");
136136
return buildmlearnPath.substring(0, index) + "apk";
137137
}
138138

0 commit comments

Comments
 (0)