plugin for Android studio

Answered

I am a beginner in plugin development.I'm developing a plugin for Android studio.After modifying the setting file of Android studio with the plugin, I want to synchronize the gradle. How can I sycn now? How to realize the synchronization function of gradle?

 

 

 

2 comments
Comment actions Permalink

Use com.android.tools.idea.gradle.project.sync.GradleSyncInvoker#requestProjectSync(com.intellij.openapi.project.Project, com.google.wireless.android.sdk.stats.GradleSyncStats.Trigger) with e.g. TRIGGER_USER_STALE_CHANGES

0

Please sign in to leave a comment.