copy src/main/res to dist

This commit is contained in:
Akinwale Ariwodola 2018-04-22 12:41:12 +01:00
parent 3ddaf220d0
commit cb57e4ea1c

View file

@ -915,7 +915,14 @@ class TargetAndroid(Target):
assets_src = join(pattern, "assets")
for fn in glob(expanduser(assets_src.strip())):
self.buildozer.file_copytree(fn, assets_dir)
# copy src/main/res too
res_dir = join(dist_dir, "src", "main", "res")
for pattern in java_src:
res_src = join(pattern, "res")
for fn in glob(expanduser(res_src.strip())):
self.buildozer.file_copytree(fn, res_dir)
@property
def serials(self):
if hasattr(self, '_serials'):