Skip to content

Commit 3b3bc19

Browse files
committed
FIX: SignerThread IndexOutOfBoundException
1 parent 64c62a7 commit 3b3bc19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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
@@ -131,7 +131,7 @@ public NodeVisitor child(String ns, String name) {
131131
}
132132

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

0 commit comments

Comments
 (0)