0
當我將我的Android Studio項目從編輯器運行到手機時,無法啓動。 一切都很好編譯,但是沒有任何活動在它完成時開始。然後我必須用我的手機手動打開應用程序,並且最新的代碼確實已更新。應用程序無法通過Android Studio啓動
這裏是我的Android清單片段:
<activity android:name=".view.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
我曾嘗試:
- 使用不同的物理設備
- 使用虛擬設備
- 走進「編輯配置」並選擇啓動的默認活動
「Nothing launches」可能沒有足夠的信息來幫助您。你有任何錯誤消息,回溯,什麼? – Arount
是的你是對的,我一開始沒有看到錯誤信息。我結束了與此帖相同的錯誤:https://stackoverflow.com/questions/42570016/android-studio-2-3-update-not-opening-app-instant-run-service我不得不禁用即時運行。非常感謝! – AnthonyL