Fix Android build version sdk in script

This commit is contained in:
vvb2060 2021-02-10 01:09:25 +08:00 committed by John Wu
parent b6643b7bfc
commit 1426ee2ebd
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class AppShellInit : BaseShellInit() {
fun getBool(name: String) = getVar(name).toBoolean()
shell.newJob().apply {
add("export SDK_INT=${Build.VERSION.SDK_INT}")
add("export API=${Build.VERSION.SDK_INT}")
add(context.rawResource(R.raw.manager))
if (shell.isRoot) {
add(context.assets.open("util_functions.sh"))