Calvin's Tech Space

          成于堅忍,毀于浮躁

             :: 首頁 :: 聯系 :: 聚合  :: 管理
          在android-sdk-linux_x86/platforms/android-10/data/layoutlib.jar中包含了source中internal的api,在eclipse中導入這個jar包就可以使用internal的api了。
          導入方法:
          1. Right-click the project in Eclipse and select "Build Path -> Add Libraries...".
          2. Select User Library from the list and click Next.
          3. Click the "User Libraries..." button.
          4. Click "New..." in the User Libraries dialog.
          5. Give the user library a name and select the System library checkbox and click OK.
          6. Highlight the newly added user library in the list and click the "Add JARs..." button and add the desired jar files.
          7. Click OK on the User Libraries dialog.
          8. Make sure the new user library is checked in the Add Library dialog and

          不以這種方式添加會出現DEX error,切記

          posted on 2011-04-28 11:39 calvin 閱讀(4620) 評論(0)  編輯  收藏 所屬分類: EclipseAndroid
          主站蜘蛛池模板: 濮阳市| 汾阳市| 介休市| 祥云县| 咸阳市| 方山县| 安溪县| 惠安县| 淮滨县| 洛隆县| 湟源县| 兴仁县| 延安市| 桓仁| 麦盖提县| 舟曲县| 南江县| 舞钢市| 泗阳县| 五大连池市| 沂源县| 分宜县| 红桥区| 上思县| 白沙| 湘潭县| 昔阳县| 定南县| 治多县| 富裕县| 石首市| 天等县| 临夏县| 克山县| 南昌市| 隆回县| 郴州市| 惠东县| 京山县| 临沂市| 章丘市|