首先爲的Eyal-lezmy提到你應該下載Android Studio 1.0.2 Stable edition
,(你總是希望最新版本,特別是具有如果IDE是清新Android Studio
是。
如果我理解正確,您想刪除並重新安裝您的從您的仿真應用程序要做到這一點,在你的模擬器,去Menu
- >Settings
- >Apps
,然後選擇您的應用程序和反安裝它,然後,去Android Studio
和run
您applciation
編輯考慮您的評論 Reload being the fact that if my app has a button in activity A, and I press it, and it opens activity B, and I go back to Android Studio to type a comment, I want to reload the app and it auto starts right back at activity A
。
如果您對代碼進行了任何更改,那麼要在操作中看到您必須重新運行該應用程序。但是,如果你希望你的默認啓動的活動是Activity B
,那麼你應該去你manifest
文件,從活動中刪除此A碼:
<action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />
,並把它的活動B碼,您要內從你的應用程序開始。
再次運行你的應用程序會不重新啓動你的Genymotion – Anjali 2015-01-21 04:32:28
計數器是一個靜態變量? – 2015-01-21 04:36:35
計數器不是靜態的 – 2015-01-21 04:56:32