chiark / gitweb /
official Android default minSdkVersion is 1 not 0
authorHans-Christoph Steiner <hans@eds.org>
Mon, 6 Jun 2016 18:17:41 +0000 (20:17 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 14 Jun 2016 08:06:02 +0000 (10:06 +0200)
https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#min

fdroidserver/update.py

index b7104ca9c9d5f718a8d8e18d437c4d5e84c2615f..570d249b2cfb36e650bd502ad83b16572109859e 100644 (file)
@@ -547,7 +547,7 @@ def scan_apks(apps, apkcache, repodir, knownapks, use_date_from_apk=False):
 
             if 'minSdkVersion' not in apk:
                 logging.warn("No SDK version information found in {0}".format(apkfile))
-                apk['minSdkVersion'] = 0
+                apk['minSdkVersion'] = 1
 
             # Check for debuggable apks...
             if common.isApkDebuggable(apkfile, config):