diff --git a/tools/android-create-apk.py b/tools/android-create-apk.py index 9944295..67d356c 100644 --- a/tools/android-create-apk.py +++ b/tools/android-create-apk.py @@ -103,6 +103,11 @@ if not os.path.exists(res_dir): shutil.copytree(fips_dir + '/templates/android_assets/res', res_dir) +# create empty assets dir if not exists +assets_dir = apk_dir + 'assets/' +if not os.path.exists(assets_dir): + os.makedirs(assets_dir) + # generate AndroidManifest.xml with open(apk_dir + 'AndroidManifest.xml', 'w') as f: f.write('