本文介绍了自定义K9包名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在你书面方式,因为我没有找到任何解决方案。

i am writting you cause i am not finding any solution.

我刚刚下载了K9源$ C ​​$ C从GitHub,它成功地编译和我在我的Andr​​oid设备安装它,我建立了一个电子邮件帐户,然后我去一个WhatsApp的谈话,并通过电子邮件发送对话,K9作品开箱。

I've just downloaded K9 source code from github and it compiles succesfully and when i install it in my android device, i set up an email account and i go to one whatsapp conversation, and send the conversation via email, k9 works out of the box.

问题是当我尝试这样做完全一样的,但试图重命名所有K9项目的整个工作室的Andr​​oid包名。那么如果我在Android设备上安装和配置我的电子邮件帐户,它的工作原理,但是当我尝试这样通过电子邮件发送WhatsApp的谈话,k9mail是不是在电子邮件应用程序列表。

The problem comes when i try to do exactly the same but trying to rename the whole Android studio package name of all k9 project. then if i install it in my android device and configure my email account, it works but when i try so send whatsapp conversation via email, k9mail is not in the list of email applications.

有没有解决这个问题?我越来越疯狂。

Is there any solution to this issue? I am getting crazy.

非常感谢你。

推荐答案

您需要保持K9邮件包的实际名称: com.fsck.k9 并添加额外的德K9字符串后名称: com.fsck.k9.your包名

You need to keep the actual name of k9 mail package: com.fsck.k9 and add extra name after de k9 string: com.fsck.k9.your-package-name

如果您使用grandle您可以使用此选项做到这一点:在文件的build.gradle 包含此code:

If you use grandle you can do it with this option: in file build.gradle includes this code:

defaultConfig { 
     applicationId 'com.fsck.k9.your-package-name'
} 

这篇关于自定义K9包名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 19:42