如何创建的Android机器人库项目? [英] How to create android library project in android?
本文介绍了如何创建的Android机器人库项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想开发在Android中使用eclipse库项目。我尝试Android开发者网站,我不能进去。我需要我怎样才能改变我的清单现在我的文件看起来像this.now什么我必须做的改变帮助?
<?XML版本=1.0编码=UTF-8&GT?;
<清单的xmlns:机器人=http://schemas.android.com/apk/res/android
包=com.Thinkpalm.gestureinput
安卓版code =1
机器人:=的versionName1.0>
<采用-SDK安卓的minSdkVersion =8/> <应用机器人:图标=@绘制/图标机器人:标签=@字符串/ APP_NAME>
<活动机器人:gestureinputNAME =
机器人:标签=@字符串/ APP_NAME>
&所述;意图滤光器>
<作用机器人:名字=android.intent.action.MAIN/>
<类机器人:名字=android.intent.category.LAUNCHER/>
&所述; /意图滤光器>
< /活性GT; < /用途>
< /清单>
解决方案
选择了项目
从 Package Explorer中
(蚀),或创建由pressing Alt键一个新的,开放的属性
对话框+ Enter键(或右键单击+属性),并检查 IsLibray
复选框。
有关详细信息,请参阅建立一个图书馆项目
I want to develop library project in android using eclipse. I tried android developer website I can't get in. I need help for how can I change my manifest now my file look like this.now what are the changes I have to do ?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.Thinkpalm.gestureinput"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".gestureinput"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
解决方案
Select the project
from the Package Explorer
(eclipse) or create a new one and open Properties
dialog by pressing Alt+Enter ( or right click + Properties) and check the IsLibray
checkbox.
For more details read Setting up a Library Project
这篇关于如何创建的Android机器人库项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文