I have created an android build in 10 March 2018(#1234) then created the same version build in 15 May 2018(#1245). In both the builds i there is an issue of changing the class name in android manifest file. I don't know what xamarin changed its build process so i am getting the different class name.
I am showing you the exact scenario:
In #1234 i am getting the string of activity with name like below
<activity android:icon="@drawable/icon" android:label="@string/app_name" android:name="md5601603957bd95d32f86ccea34c18d6a7.SplashActivity" android:noHistory="true" android:screenOrientation="portrait" android:theme="@style/SplashTheme">
In #1245 i am getting the string of activity with name like below
<activity android:icon="@drawable/icon" android:label="@string/app_name" android:name="md5b3a0d56d6e26694c48a179fb000dfbaa.SplashActivity" android:noHistory="true" android:screenOrientation="portrait" android:theme="@style/SplashTheme">
So the difference is in the android:name tag of activity. Why it is coming?
One more strange thing happens. I though i could have changed some code may be i have changed the namespace because the class name computed by using MD5SUM of fully qualified name of a class. So i took update of old code (10 March 2018) and build that version. I am surprised to see the out put that this build also having the changed class name (md5b3a0d56d6e26694c48a179fb000dfbaa.SplashActivity).
On more thing here, I have extracted the apk using apktool and see the different in both the resources. If i go abc.apk->smali i can see all the MD5SUM class generated folder then i searched for splash activity one and see the following difference:
In #1234:
.line 15
const-string v0, "PackageName.Android.SplashActivity, PackageName.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
const-class v1, Lmd5601603957bd95d32f86ccea34c18d6a7/SplashActivity;In #1245
.line 15
const-string v0, "PackageName.Android.SplashActivity, PackageName.Android"const-class v1, Lmd5b3a0d56d6e26694c48a179fb000dfbaa/SplashActivity;
This difference i can see in both the files. May be Xamarin made some release which changes my class name with in my given period of time.
Please help me out for this.