目前找到最保險的方法
連結網址 : 連結在此
Native Devlipment Kit ( NDK )
讓開發者使用Android 的 C/C++原生語言 與 JAVA 一同使用
簡單的說,可以使用 C/C++的函式庫來解決Java所欠缺的運算效率
1 . Download the ADT Plugin zip file
2 . Start Eclipse, then select Help > Install New Software.
3 . Click Add, in the top-right corner.
4 . In the Add Repository dialog, click Archive.
5 . Select the downloaded ADT-23.0.4.zip file and click OK.
6 . Enter "ADT Plugin" for the name and click OK.
7 . In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
8 . In the next window, you'll see a list of the tools to be downloaded. Click Next.
9 . Read and accept the license agreements, then click Finish.
10. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
11. When the installation completes, restart Eclipse.
- 下載ADT最新Zip file
- 開啟 Eclipse 點選 Help -> InstallNew Software
- 點選右上角的Add
- 跳出對話視窗後點選Archive
- 選擇您剛剛下載完的ADT( 不用拆 ),點選 OK
- 點選ADT Plugin後點選OK
- 接下來就 Next 大法
- 重新開啟Eclipse
- 就出現NDK的選項了
歡迎轉載,請註明出處。
沒有留言:
張貼留言