build for release 1.1

This commit is contained in:
Gboy9155
2017-12-13 21:03:05 +01:00
parent 0e61df8af8
commit 547ec53d42
4 changed files with 36 additions and 19 deletions

View File

@@ -59,6 +59,7 @@
<EnableLLVM>false</EnableLLVM>
<BundleAssemblies>false</BundleAssemblies>
<EnableProguard>true</EnableProguard>
<AndroidSupportedAbis />
</PropertyGroup>
<ItemGroup>
<Reference Include="ExoPlayer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
@@ -224,6 +225,9 @@
<None Include="app.config" />
<None Include="GettingStarted.Xamarin" />
<None Include="packages.config" />
<ProguardConfiguration Include="proguard.cfg">
<SubType>Designer</SubType>
</ProguardConfiguration>
<None Include="Properties\AndroidManifest.xml" />
<AndroidResource Include="Resources\layout\MusicLayout.axml">
<SubType>Designer</SubType>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.musicapp.android" android:versionCode="1" android:versionName="1.0" android:installLocation="preferExternal">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.musicapp.android" android:versionCode="2" android:versionName="1.1" android:installLocation="preferExternal">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="25" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />

View File

@@ -2360,27 +2360,9 @@ namespace MusicApp
// aapt resource value: 0x7f020053
public const int avd_hide_password = 2130837587;
// aapt resource value: 0x7f020084
public const int avd_hide_password_1 = 2130837636;
// aapt resource value: 0x7f020085
public const int avd_hide_password_2 = 2130837637;
// aapt resource value: 0x7f020086
public const int avd_hide_password_3 = 2130837638;
// aapt resource value: 0x7f020054
public const int avd_show_password = 2130837588;
// aapt resource value: 0x7f020087
public const int avd_show_password_1 = 2130837639;
// aapt resource value: 0x7f020088
public const int avd_show_password_2 = 2130837640;
// aapt resource value: 0x7f020089
public const int avd_show_password_3 = 2130837641;
// aapt resource value: 0x7f020055
public const int design_bottom_navigation_item_background = 2130837589;

31
MusicApp/proguard.cfg Normal file
View File

@@ -0,0 +1,31 @@
# This is Xamarin-specific (and enhanced) configuration.
-dontobfuscate
-keep class mono.MonoRuntimeProvider { *; <init>(...); }
-keep class mono.MonoPackageManager { *; <init>(...); }
-keep class mono.MonoPackageManager_Resources { *; <init>(...); }
-keep class mono.android.** { *; <init>(...); }
-keep class mono.java.** { *; <init>(...); }
-keep class mono.javax.** { *; <init>(...); }
-keep class opentk.platform.android.AndroidGameView { *; <init>(...); }
-keep class opentk.GameViewBase { *; <init>(...); }
-keep class opentk_1_0.platform.android.AndroidGameView { *; <init>(...); }
-keep class opentk_1_0.GameViewBase { *; <init>(...); }
-keep class android.runtime.** { <init>(***); }
-keep class assembly_mono_android.android.runtime.** { <init>(***); }
# hash for android.runtime and assembly_mono_android.android.runtime.
-keep class md52ce486a14f4bcd95899665e9d932190b.** { *; <init>(...); }
-keepclassmembers class md52ce486a14f4bcd95899665e9d932190b.** { *; <init>(...); }
-dontwarn okio.**
# Android's template misses fluent setters...
-keepclassmembers class * extends android.view.View {
*** set*(***);
}
# also misses those inflated custom layout stuff from xml...
-keepclassmembers class * extends android.view.View {
<init>(android.content.Context,android.util.AttributeSet);
<init>(android.content.Context,android.util.AttributeSet,int);
}