Skip to content

Commit

Permalink
Fix Android LLVM Bug Causing Crash on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCodeTraveler committed Dec 20, 2021
1 parent c524afc commit 8fb2927
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GitTrends.Android/GitTrends.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
<AotAssemblies>true</AotAssemblies>
<AndroidEnableProfiledAot>true</AndroidEnableProfiledAot>
<AndroidUseAapt2>true</AndroidUseAapt2>
<EnableLLVM>true</EnableLLVM>
<AndroidPackageFormat>aab</AndroidPackageFormat>
<AndroidTlsProvider>btls</AndroidTlsProvider>
<AndroidDexTool>d8</AndroidDexTool>
Expand All @@ -65,7 +64,6 @@
<AotAssemblies>true</AotAssemblies>
<AndroidEnableProfiledAot>true</AndroidEnableProfiledAot>
<AndroidUseAapt2>true</AndroidUseAapt2>
<EnableLLVM>true</EnableLLVM>
<AndroidPackageFormat>aab</AndroidPackageFormat>
<AndroidTlsProvider>btls</AndroidTlsProvider>
<AndroidDexTool>d8</AndroidDexTool>
Expand Down Expand Up @@ -103,6 +101,8 @@
<PackageReference Include="SkiaSharp.Views.Forms" Version="2.80.3" />
<PackageReference Include="Refit.Newtonsoft.Json" Version="6.1.15" />
<PackageReference Include="Shiny.Jobs" Version="2.3.0.2906" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime" Version="2.3.1.4" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.Extensions" Version="2.2.0.10" />
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
Expand Down
1 change: 1 addition & 0 deletions GitTrends.Android/proguard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
-dontwarn android.support.**
# support design
-dontwarn android.support.design.**
-keep class androidx.lifecycle.** {*;}
-keep class android.support.design.** { *; }
-keep interface android.support.design.** { *; }
-keep public class android.support.design.R$* { *; }
Expand Down

0 comments on commit 8fb2927

Please sign in to comment.