Android-Studio refresh project with build.gradle changes

前端 未结 3 1223
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 10:43

how can I sync changes I made in the build.gradle into the project structure ( e.g. that AndroidStudio is recognizing the lib I added? Kind of like the \"reimport all maven

3条回答
  •  再見小時候
    2020-12-17 11:17

    I read somewhere that the "Synchronize" item on the module's context menu should update the IDE's settings based on the build.gradle file.

    Ok, so in the latest version of Android Studio 0.1.3, they've added a Gradle project refresh button next to the other Android specific buttons in the toolbar. Make changes manually to the build.gradle files and settings.gradle and then click this button. It should configure and refresh your project settings based on the gradle files.

提交回复
热议问题