0

I'm proud to say that I finished my first app and now I want to publish it to google play. When I try to upload the signed apk it gives me an error saying my package name is incorrect (com.example.xxxxxxx). I tried renaming it by going to android tools -> rename package name but it won't work. I don't know how to name it and even if i do (org.android.xxxxxxx) nothing happens. Could someone explain this to me?

Also, since I'm already asking...could someone tell me how do I add ads to my app?

Thank you!

4

1 回答 1

2

你的包名应该是你个人的东西。“com.example”和“org.android”是系统已经采用的默认命名空间。

“com.<:your company name:>.<:app name:>” 将是一个不错的选择。

其次,可以通过导入广告库将广告添加到您的活动中。Admob 归谷歌所有,是一个很好的平台。有关如何执行此操作的说明,请参见此处:http ://www.google.com/ads/admob/

于 2013-06-13T19:59:22.387 回答