diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 9a63586..a61be25 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -647,7 +647,7 @@ class TargetAndroid(Target): self.buildozer.error('Invalid library reference (path not found): {}'.format(cref)) exit(1) # get a relative path from the project file - ref = relpath(ref, dist_dir) + ref = relpath(ref, realpath(dist_dir)) # ensure the reference exists references.append(ref)