发布几款Android应用程序与同code基 [英] Release several android applications with same code base

查看:107
本文介绍了发布几款Android应用程序与同code基的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好:我想释放多个应用程序到Android市场它是基于一个code基都非常轻微定制。我不能随便更改包indentifier在AndroidManifest.xml文件,因为其他的一些事情dependet在这个喜欢动作识别等。 什么是发布基于一个Eclipse项目具有相同code碱基几个应用程序的最佳方法?

Hi: I want to release multiple applications to android marketplace which are all very slightly customized based on a code base. I can't just change the package indentifier in the AndroidManifest.xml file because several other things dependet on this like action identifiers and so on. What is the best approach to release several apps based on one eclipse project with the same code base?

推荐答案

您需要创建一个库项目,并从每一个你的应用程序中引用它。最新版本ADT插件允许这样。转到项目属性,Android的网页,你会看到一个'库'对号那里。参考图书馆也设置在页面上。

You need to create a library project and reference it from every of your apps. Latest versions of ADT plugin allow this. Go to the project properties, android page, you'll see a 'library' checkmark there. Reference to the library is also setup on the page.

这篇关于发布几款Android应用程序与同code基的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆