Ant 패키지 안 드 로 이 드 프로그램 절차 및 주의사항
Ant android ,
=====================
Managing Projects from the Command Line
http://developer.android.com/tools/projects/projects-cmdline.html#UpdatingAProject
Ant Build Android Project With Dependencies
http://stackoverflow.com/questions/12308849/ant-build-android-project-with-dependencies
------------------
**NOTE: android , baidu,google , google android http://developer.android.com/
, , 。
, , ! **
> ** :** android , , Ant
----------------------------------
* ( , ant , )
> app
> > dependent
> > > actionbarsherlock-new
> > > android-times-sequare
> > > android-uitableview
> > > AppMsg-library
> > > customShapeImageView
> > > ResideMenu
> > > sliding_menu_library
*
1. app dependent actionbarsherlock-new,android-times-sequare,android-uitableview,AppMsg-library,customShapeImageView,ResideMenu,sliding_menu_library
2. sliding_menu_library actionbarsherlock-new
---------------
1. ** , Ant **
* ** ( app)**
, :
> android update project --name app --target android-20 --path .
: http://developer.android.com/tools/projects/projects-cmdline.html#UpdatingAProject
* ** ( actionbarsherlock-new )**
,
> android update lib-project --target android-20 --path .
:
> app
> > dependent
> > > actionbarsherlock-new
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
> > > android-times-sequare
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
> > > android-uitableview
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
> > > >
> > > AppMsg-library
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
>
> > > customShapeImageView
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
>
> > > ResideMenu
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
>
> > > sliding_menu_library
> > > > AndroidManifest.xml
> > > > build.xml
> > > > local.properties
> > > > project.properties
>
> AndroidManifest.xml
> build.xml
> local.properties
> project.properties
**2. **
* :
* custom_rules.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<project name="app">
<property file="ant.properties" />
<property file="local.properties" />
<property name="out.dir" value="out" />
</project>
* ant.properties
:
#
key.store=app-release-key.keystore
#
key.store.password=pswd
#
key.alias=alias
#
key.alias.password=pswd
#
proguard.config=proguard-project.txt
**3.clean **
> ant clean release
...>_<
:
-------
1.
* app project.properties , :【1】
> android.library.reference.1=dependent/actionbarsherlock-new
> android.library.reference.2=dependent/android-times-sequare
> android.library.reference.3=dependent/android-uitableview
> android.library.reference.4=dependent/AppMsg-library
> android.library.reference.5=dependent/customShapeImageView
> android.library.reference.6=dependent/ResideMenu
> android.library.reference.7=dependent/sliding_menu_library
> \# Project target.
> target=android-20
* ( sliding_menu_library ) project.properties, :【2】
> \# Project target.
> target=android-20
> **android.library=true**
* sliding_menu_library project.properties , :【3】
> **android.library.reference.1=../actionbarsherlock-new**
> \# Project target.
> target=android-20
> **android.library=true**
2. :
* 【1】、【2】、【3】 , ,project.properties :`android.library=true`
* , , :
> resolve to a path with no project.properties file for project
: http://stackoverflow.com/questions/12308849/ant-build-android-project-with-dependencies
3.** , **
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Kotlin의 기초 - 2부지난 글에서는 Kotlin이 무엇인지, Kotlin의 특징, Kotlin에서 변수 및 데이터 유형을 선언하는 방법과 같은 Kotlin의 기본 개념에 대해 배웠습니다. 유형 변환은 데이터 변수의 한 유형을 다른 데이터...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.