fix android release configuration

This commit is contained in:
Tsanie Lily 2022-03-17 23:13:59 +08:00
parent 5cbcfbcd56
commit ba7b3e7389
3 changed files with 6 additions and 5 deletions

View File

@ -114,7 +114,7 @@ namespace Billing
Task.Run(async () => bills = await instance.GetListAsync<Bill>())); Task.Run(async () => bills = await instance.GetListAsync<Bill>()));
} }
#if __ANDROID #if __ANDROID__
public static async Task<bool> OpenUrl(string url) public static async Task<bool> OpenUrl(string url)
#elif __IOS__ #elif __IOS__
public static bool OpenUrl(string url) public static bool OpenUrl(string url)

View File

@ -39,6 +39,7 @@
<BundleAssemblies>false</BundleAssemblies> <BundleAssemblies>false</BundleAssemblies>
<AndroidSupportedAbis>x86;x86_64;arm64-v8a</AndroidSupportedAbis> <AndroidSupportedAbis>x86;x86_64;arm64-v8a</AndroidSupportedAbis>
<EmbedAssembliesIntoApk>false</EmbedAssembliesIntoApk> <EmbedAssembliesIntoApk>false</EmbedAssembliesIntoApk>
<MandroidI18n />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>false</DebugSymbols> <DebugSymbols>false</DebugSymbols>
@ -49,10 +50,10 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<AndroidManagedSymbols>true</AndroidManagedSymbols> <AndroidManagedSymbols>true</AndroidManagedSymbols>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime> <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<AotAssemblies>false</AotAssemblies> <AotAssemblies>true</AotAssemblies>
<EnableLLVM>false</EnableLLVM> <EnableLLVM>true</EnableLLVM>
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot> <AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
<BundleAssemblies>false</BundleAssemblies> <BundleAssemblies>true</BundleAssemblies>
<AndroidSupportedAbis>arm64-v8a</AndroidSupportedAbis> <AndroidSupportedAbis>arm64-v8a</AndroidSupportedAbis>
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk> <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
<AndroidCreatePackagePerAbi>true</AndroidCreatePackagePerAbi> <AndroidCreatePackagePerAbi>true</AndroidCreatePackagePerAbi>

View File

@ -14,7 +14,7 @@ namespace Billing.Droid
{ {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "12.2.0.155")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
public partial class Resource public partial class Resource
{ {