About android studio
As you may not know, android studio is a new IDE for developing android application.
Although it seems that this is a kind of introduction, below sharing will not convince you to use this tool. Instead, i am going to talk about how to use this studio wisely.
Recommend websites
Better than nothing. It guides you how to setup the android studio on your machine.
If you get errors like missing JVM on MAC OS because of missing STUDIO_JDK environment variable, try putting below scripts in folder
~/Library/LaunchAgents
.$> cat ~/Library/LaunchAgents/android.studio.jdk.setting.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>android.studio.jdk.setting</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Someday, when you are getting annoyed by typing dummy codes again and again, you must check out this website. It shows you shortcuts for doing Tasks like generating getter or setter, moving codes around etc. To be honest, it saves my life.
網誌管理員已經移除這則留言。
回覆刪除