-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:xamarin/xamarin-android into mono…
…-2018-10
- Loading branch information
Showing
93 changed files
with
2,466 additions
and
1,121 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
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Build Dependencies for Windows | ||
|
||
Building Xamarin.Android requires: | ||
|
||
* An existing installation of the Xamarin.Android SDK and the Android SDK | ||
* The .NET Framework 3.5 – 4.7 development tools | ||
* Git for Windows | ||
* The Java Development Kit (JDK) | ||
|
||
The recommended steps to install these dependencies are: | ||
|
||
1. Run the [Visual Studio Installer](https://visualstudio.microsoft.com/vs/). | ||
|
||
2. Under the **Workloads** tab, ensure that the **Mobile development with | ||
.NET** workload is installed. Under the **Optional** items for the | ||
workload, ensure **Android SDK setup** is selected. | ||
|
||
3. Also ensure the **.NET desktop development** workload is installed. Under | ||
the **Optional** items for the workload, ensure the following items are | ||
installed: | ||
|
||
* **.NET Framework 4 – 4.6 development tools** | ||
* **.NET Framework 4.6.2 development tools** | ||
* **.NET Framework 4.7 development tools** | ||
* **.NET Core 2.0 development tools** | ||
|
||
The following items are also recommended: | ||
|
||
* **.NET Framework 4.7.1 development tools** | ||
* **.NET Framework 4.7.2 development tools** | ||
|
||
4. Under the **Individual components** tab, ensure that **Code tools > Git for | ||
Windows** is installed. | ||
|
||
5. Ensure the .NET Framework 3.5 SP1 Runtime is installed by downloading and | ||
running the installer from | ||
<https://www.microsoft.com/net/download/visual-studio-sdks>. | ||
|
||
6. Download and install the Java SE 8 JDK from the [Oracle | ||
website][oracle-jdk]. You can use either the Windows x64 or Windows x86 | ||
version. Make sure **Development Tools** is selected for installation when | ||
running the installer. | ||
|
||
[oracle-jdk]: http://www.oracle.com/technetwork/java/javase/downloads/index.html |
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Compiler Warning XA1006 | ||
|
||
You are building against a version of Android (compileSdk) that | ||
is more recent than your targetSdkVersion specifies (targetSdk). | ||
|
||
Set your targetSdkVersion to the highest version of Android available | ||
to match your TargetFrameworkVersion (compileSdk). |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Compiler Warning XA1007 | ||
|
||
The minSdkVersion (minSdk) is greater than targetSdkVersion. | ||
|
||
Please change the value such that minSdkVersion is less than | ||
or equal to targetSdkVersion (targetSdk). |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Compiler Warning XA1008 | ||
|
||
The TargetFrameworkVersion (compileSdk) must not be lower | ||
than targetSdkVersion (targetSdk). | ||
|
||
You should either, increase the `$(TargetFrameworkVersion)` | ||
of your project. Or decrease the `android:targetSdkVersion` | ||
in your `AndroidManifest.xml` to correct this issue. |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Compiler Warning XA4216 | ||
|
||
This warning indicates your application is targeting an API level that | ||
Xamarin.Android does not support. | ||
|
||
Raise the value of `//uses-sdk/@android:minSdkVersion` or | ||
`//uses-sdk/@android:targetSdkVersion` in `AndroidManifest.xml` to a | ||
higher API level that is supported. | ||
|
||
Example message: | ||
|
||
warning XA4216: AndroidManifest.xml //uses-sdk/@android:minSdkVersion '15' is less than API-16, this configuration is not supported. |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Compiler Warning XA4218 | ||
|
||
This warning indicates your `AndroidManifest.xml` file specifies | ||
`//application/uses-library`, but the library was not found within the | ||
Android SDK directory. | ||
|
||
Solutions: | ||
|
||
* Verify you defined the `@android:name` correctly and the file | ||
exists. | ||
* Raise the value of `//uses-sdk/@android:targetSdkVersion` in | ||
`AndroidManifest.xml` to a higher API level. | ||
|
||
Example message: | ||
|
||
warning XA4218: Unable to find //manifest/application/uses-library at path: C:\Program Files (x86)\Android\android-sdk\platforms\android-22\optional\org.apache.http.legacy.jar |
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
Oops, something went wrong.