0
キャッシュを無効にしてAndroidスタジオをプログラムで再起動する必要がありますか?Android Studioをプログラムで再起動
はいの場合はどうですか?私はintelliGのアイデア使用してこのタスクを実行することができる午前多くの研究の後
キャッシュを無効にしてAndroidスタジオをプログラムで再起動する必要がありますか?Android Studioをプログラムで再起動
はいの場合はどうですか?私はintelliGのアイデア使用してこのタスクを実行することができる午前多くの研究の後
ApplicationEx app =
(ApplicationEx)ApplicationManager.getApplication(); // creating an object of ApplicationEx class
boolean canRestart = app.isRestartCapable(); // Checking whether able to restart or not
if(canRestart)
{
app.restart(true); // restart
}