如何创建另一个版本或重新包装我的Eclipse应用程序 [英] How to create another version or re-package my application in Eclipse

查看:183
本文介绍了如何创建另一个版本或重新包装我的Eclipse应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建我的应用程序的免费版本将在功能是有限的,有通知,并链接到获得完整版。

I want to create a free version of my application which will be limited in features and have notifications and links to get the full version.

我可以在硬盘上创建整个项目的另一个副本,但是包路径必须在所有.java文件和明显改变。难道我手动做到这一点还是有Eclipse的一个更好的方式来组织不同版本的应用程序?

I can create another copy of the entire project on the hard drive but the package path needs to change in all .java files and manifest. Do I do this manually or is there a better way in Eclipse to organise different versions of an application?

推荐答案

创建一个<一个href=\"http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject\"相对=nofollow>新图书馆项目,并把所有常用的code在里面。

Create a new Library project and put all common code in it.

然后创建了两款Android项目(一个免费的支付)引用该库项目。

Then create two Android projects (one free on payable) that reference the library project.

这篇关于如何创建另一个版本或重新包装我的Eclipse应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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