[問題] 想新增Lib到Android的framework下
開發層: (應用/框架/庫/核心)
問題:
小弟自行寫了一個Lib檔,名為test.java
想直接將它放進
/frameworks/base/ethernet/java/android/net/ethernet/
想說這樣直接使用比較省事
但是Compiler時會出現錯誤
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed
in the
errors above.
2) You can update current.xml by executing the following commands:
p4 edit frameworks/base/api/current.xml
make update-api
To check in the revised current.xml, you will need OWNERS
approval.
******************************
雖然我有嘗試執行make update-api
但是會顯示TARGET_ARCH undefined的錯誤訊息
有沒有版友能指點一下我這位初接觸Android的菜鳥~~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 112.105.79.131
→
05/10 20:55, , 1F
05/10 20:55, 1F
→
05/10 22:15, , 2F
05/10 22:15, 2F
→
05/10 22:16, , 3F
05/10 22:16, 3F
→
05/11 09:33, , 4F
05/11 09:33, 4F
→
05/11 09:34, , 5F
05/11 09:34, 5F
推
05/11 19:58, , 6F
05/11 19:58, 6F
→
05/11 19:58, , 7F
05/11 19:58, 7F
推
05/11 20:01, , 8F
05/11 20:01, 8F
推
05/11 20:26, , 9F
05/11 20:26, 9F
推
05/12 18:19, , 10F
05/12 18:19, 10F
→
05/18 11:51, , 11F
05/18 11:51, 11F
→
05/19 18:42, , 12F
05/19 18:42, 12F
推
05/31 01:05, , 13F
05/31 01:05, 13F
→
05/31 01:06, , 14F
05/31 01:06, 14F
推
05/31 01:08, , 15F
05/31 01:08, 15F
→
05/31 01:09, , 16F
05/31 01:09, 16F
AndroidDev 近期熱門文章
PTT數位生活區 即時熱門文章