<div><p style="margin:0px 0px 12px;font-family:Roboto,sans-serif;font-size:14px;line-height:24px"><font color="#000000">By default, Android Studio automatically restarts the current activity after performing a hot swap, while the app keeps running. To disable this setting:</font></p><ol style="margin:0px 0px 15px 20px;padding:0px;font-family:Roboto,sans-serif;font-size:14px;line-height:24px"><li style="margin:0px 0px 12px"><font color="#000000">Open the <strong>Settings</strong> or <strong>Preferences</strong> dialog.</font></li><li style="margin:0px 0px 12px"><font color="#000000">Navigate to <strong>Build, Execution, Deployment</strong> > <strong>Instant Run.</strong></font></li><li style="margin:0px 0px 12px"><font color="#000000">Uncheck the box next to <strong>Restart activity on code changes</strong>.</font></li></ol><p style="margin:0px 0px 12px;font-family:Roboto,sans-serif;font-size:14px;line-height:24px"><font color="#000000">If automatic activity restart is disabled, you can manually restart the current activity from the menu bar by selecting <strong>Run</strong> > <strong>Restart Activity</strong>.</font></p><h4 style="font-size:18px;line-height:24px;margin:12px 0px;font-family:Roboto,sans-serif"><a name="TOC-Using-Rerun"></a><font color="#000000">Using Rerun</font></h4><p style="margin:0px 0px 12px;font-family:Roboto,sans-serif;font-size:14px;line-height:24px"><font color="#000000">When pushing certain code changes, such as changes to an app's <code style="font-size:13px;font-stretch:normal;line-height:18px;font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;padding:3px 5px;background-color:rgb(247,247,247)"><a href="http://adarshf-linux.kir.corp.google.com:9000/reference/android/app/Application.html#onCreate()" style="text-decoration:none">onCreate()</a></code> method, you will need to restart your running app for the changes to take effect. You can click <strong>Rerun </strong></font><img border="0" src="http://tools.android.com/_/rsrc/1458888270801/tech-docs/instant-run/as-restart.png"><strong style="color:rgb(0,0,0);background-color:transparent"> </strong><span style="color:rgb(0,0,0);background-color:transparent">to stop the app, perform an </span><em style="color:rgb(0,0,0);background-color:transparent">incremental build</em><span style="color:rgb(0,0,0);background-color:transparent">, and restart the app.</span></p><p style="margin:0px 0px 12px;font-family:Roboto,sans-serif;font-size:14px;line-height:24px"><font color="#000000">If you need to deploy a <em>clean build</em>, select <strong>Run</strong> > <strong>Clean and Rerun 'app'</strong> </font><img border="0" src="http://tools.android.com/_/rsrc/1458888258422/tech-docs/instant-run/as-cleanrerun.png"><font color="#000000"> from the main menu, or hold down the <strong>Shift</strong> key while clicking <strong>Rerun</strong> </font><img border="0" src="http://tools.android.com/_/rsrc/1458888270801/tech-docs/instant-run/as-restart.png"><font color="#000000">. This action stops the running app, performs a full clean build, and deploys the new APK to your target device.</font></p></div>
をインポートしますか? –
このFNFの例外は、SDカードなどのファイルにアクセスしようとするのと同じようなものではないと思います。私は間違ったフォルダにあなたのプロパティファイルを移動したと思います。 – Opiatefuchs