2012-02-29 26 views

cevap

31




Düzeltme: Kullanıcı etiketi kullanma
artık tavsiye edilir. Bunun yerine
,

Add "LOCAL_MODULE_TAGS := optional" 
Then add "LOCAL_MODULE" value to PRODUCT_PACKAGES section of product makefile. 

Orijinal Mesaj:

LOCAL_MODULE_TAGS olan bu modül monte edilmelidir lezzet oluşturmak tanımlar.
modül (kullanıcı, userdebug, eng) tüm kurulabilir isterseniz kullanıcı etiket artık yoksa Hemen vermek "kullanıcı" etiketi,

Tam belge here

eng  This is the default flavor. A plain make is the same as make eng. 

* Installs modules tagged with: eng, debug, user, and/or development. 
* Installs non-APK modules that have no tags specified. 
* Installs APKs according to the product definition files, in addition to tagged APKs. 
* ro.secure=0 
* ro.debuggable=1 
* ro.kernel.android.checkjni=1 
* adb is enabled by default. 

user make user 

This is the flavor intended to be the final release bits. 

* Installs modules tagged with user. 
* Installs non-APK modules that have no tags specified. 
* Installs APKs according to the product definition files; tags are ignored for APK modules. 
* ro.secure=1 
* ro.debuggable=0 
* adb is disabled by default. 

userdebug make userdebug 

The same as user, except: 

* Also installs modules tagged with debug. 
* ro.debuggable=1 
* adb is enabled by default. 
+1

bulabilirsiniz Tavsiye edilen. Bir modülün yalnızca anahtar oluşturmada görünmesini nasıl işaretleyebiliriz. – Fakebear

+1

Anlayışım, "eng" etiketinin, modülün oluşturulmasında görünmesine neden olmasıdır. "Userdebug" etiketi, kullanıcı hata ayıklama yapılarında görünmesine ve "isteğe bağlı" etiketinin kullanıcıda görünmesine neden olacaktır. IFF, modül, satıcı//tescilli/ortak//aygıtta tanımlanan PRODUCT_PACKAGES içinde listelenir. -vendor.mk –

+2

ETA: modülün * tümünü oluşturmasını istemiyorsanız * tamamen LOCAL_MODULE_TAGS dosyasını tamamen kaldırın. –

İlgili konular