Change Structure used by Android Studio to Create the 'gen' Folder

戏子无情 提交于 2019-12-12 02:56:24

问题


I am writing an Android app that was started in Android Studio, but I would like to be able to work on the app using AIDE as well, but the structure used by AIDE to generate the 'gen' folder (where the R class is stored) is different from Android Studio, causing conflicts that can only be resolved by adding and removing import statements for the R class depending upon which IDE I am using. While I could do this, I would rather change the structure the Android Studio uses to generate this folder so that the project would be compatible with both IDEs without me needing to intervene. I do not want the change to be system-wide for AIDE, but rather only for this project. I could I go about doing this?

来源:https://stackoverflow.com/questions/35052072/change-structure-used-by-android-studio-to-create-the-gen-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!