如何在xamarin中混淆DLL? [英] How to obfuscate DLL in xamarin?
问题描述
我正在将Xamarin与VS2015社区版一起使用.
我的问题是当我构建项目时我可以混淆,但是当我发布apk或导出apk时,它将用原始dll替换混淆的dll.
即使我发布了apk,也该如何混淆应用程序?
我尝试过的事情:
为此,我使用了在Visual Studio中导出包创建的未签名apk.
aapt r -v cn.apkassembly/App.dll//删除原始dll
aapt a -v cn.apk Assembly/AppObfuscated.dll//添加模糊化的dll
然后使用jarsigner使用相同的密钥存储库对应用程序进行签名,并对其进行zipaligned.
Hi I am using Xamarin with VS2015 Community Edition.
My problem is when I build the project I can obfuscate however when I publish the apk or export the apk it will replace the obfuscated dll with original dll.
How can I obfuscate app even when I publish the apk?
What I have tried:
So for that I used unsigned apk created by exporting package in visual studio.
aapt r -v cn.apk assemblies/App.dll //remove the original dll
aapt a -v cn.apk assemblies/AppObfuscated.dll //add the obfuscated dll
Then signed the app using same key-store using jarsigner and zipaligned it. When I tried to install it will install however it wont work.
推荐答案
此答案由
Polyariz
发表在stackoverflow中. c#-如何使用Xamarin Android APK的.Net Reactor模糊dll-堆栈溢出 [
in stackoverflow.
c# - How to use .Net Reactor obfuscated dll of Xamarin Android APK - Stack Overflow[^]
这篇关于如何在xamarin中混淆DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!