Skip to Content
Android Developer Tools深入精要
book

Android Developer Tools深入精要

by Mike Wolfson
July 2014
Intermediate to advanced
248 pages
5h 19m
Chinese
GoTop Information, Inc.
Content preview from Android Developer Tools深入精要
產生
APK
|
77
的是版面預覽工具,你可以透過螢幕右側的「
Preview
」按鈕來打開或隱藏此面板;這
面板只在操作
XML
編輯器時顯示。
版面預覽畫面會隨著
XML
程式碼的改變而更新;例如,若你改變一個
TextView
或是
Button
為粗體文字
bold font style
,則版面預覽畫面即會顯示粗體。若你想編輯
XML
則可以使用這個畫面。在我日常
Android
開發中,我常在版面設計工具與版面預覽工
具間切換使用。
[Page-82]
6-11
版面預覽工具與
XML
編輯器
產生
APK
Android Studio
中產生
APK
很簡單,請跟著以下步驟:
1.
在「
Build
」選單中點選「
Generate Signed APK
,此時會看到「
Signed APK
」精
2.
選擇你的組件並點擊「
Next
」。
3.
提供程式使用的金鑰(
keystore
)路徑,或是新增一個。
4.
(非必須)提供金鑰檔案後,點選「
Remember Password
(記憶密碼)」,
Android
Studio
會將你輸入的密碼記錄在本地的資料庫裡,之後你就不用再重新輸入密
碼。資料庫會要求你提供一個主密碼,所以請務必要記住此密碼,一些工具如
LastPass.com
可以安全地記錄多個密碼,是很有用的工具。記憶密碼的功能在你
建立或需維護多個
Android
應用程式時會很有幫助。
78
|
第六章:使用
Android Studio
開發
5.
點擊「
Next
」。
6.
此時你可以定義
APK
的目標位置,你也可以指定是否要執行 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Android 高效能多執行緒

Android 高效能多執行緒

Anders Goransson
深入淺出 jQuery

深入淺出 jQuery

Ryan Benedetti, Ronan Cranley
HTML5 錦囊妙計

HTML5 錦囊妙計

Christopher Schmitt, Kyle Simpson

Publisher Resources

ISBN: 9789863470861