-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update minSdkVersion for projects using support lib (#309)
API 16 is the lowest version of Android that is officially supported by Xamarin.Android. In most cases, this restriction is only presented as a build warning. Recent changes to use Google's [manifest merger tool][0] have however surfaced a new error in projects which use the support libraries and specify a minSdkVersion lower than API 14. These projects should be updated to use a minSdkVersion of 16 to avoid both this new error, and the existing warning about using an unsupported minimum SDK version. [0]: dotnet/android@2c6f5cd
- Loading branch information
Showing
23 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
GooglePlayServices/GooglePlayServices/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.xiosdebugging.howsmytls"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<application android:allowBackup="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:theme="@style/Theme.Base"></application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="SlidingMenuExample.SlidingMenuExample"> | ||
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="21" /> | ||
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" /> | ||
<application android:label="SlidingMenuExample"> | ||
</application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Supportv7/ActionBarCompat-ListPopupMenu/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.actionbarcompat_listpopupmenu"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/Theme.AppCompat" android:allowBackup="true"></application> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
Supportv7/AppCompat/Toolbar/Supportv7Toolbar/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="HelloToolbar.HelloToolbar"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:label="HelloToolbar" android:theme="@style/MyTheme"></application> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
UserInterface/ActionBarTabs/ActionBarTabsSupport/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.example.tabbedui"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:label="TabbedUI" android:icon="@drawable/ic_launcher"></application> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
ViewPagerIndicator/ViewPagerIndicator/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="ViewPagerIndicator.ViewPagerIndicator"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:label="MfA ViewPager Indicator" android:icon="@drawable/icon"> | ||
</application> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
google-services/AdMobExample/AdMobExample/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
google-services/Analytics/Analytics/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
google-services/Fitness/BasicHistoryApi/BasicHistoryApi/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.basichistoryapi"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/AppTheme"></application> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
...services/Fitness/BasicHistorySessions/BasicHistorySessions/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.basichistorysessions"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/AppTheme"></application> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
google-services/Fitness/BasicSensorsApi/BasicSensorsApi/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.basicsensorsapi"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/AppTheme"></application> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
google-services/GCMSample/GCMSample/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-services/Location/ActivityRecognition/ActivityRecognition/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-services/Location/BasicLocationSample/BasicLocationSample/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.basiclocationsample"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/Theme.Base"></application> | ||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
google-services/Location/Geofencing/Geofencing/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.geofencing"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/Theme.Base"></application> | ||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
google-services/Location/LocationAddress/LocationAddress/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.locationaddress"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/Theme.Base"></application> | ||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
google-services/Location/LocationSettings/LocationSettings/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.locationsettings"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:theme="@style/AppTheme"></application> | ||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | ||
</manifest> |
2 changes: 1 addition & 1 deletion
2
google-services/Location/LocationUpdates/LocationUpdates/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.locationupdates" android:installLocation="auto"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<uses-sdk android:minSdkVersion="16" /> | ||
<application android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/AppTheme"></application> | ||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | ||
</manifest> |